S125 with URL in the comment

This comment anywhere in the file causes a false positive for S125. I think it’s because the sample URL has {} in it.

        //Default URL for triggering event grid function in the local environment.
        //http://localhost:7071/runtime/webhooks/EventGrid?functionName={functionname}

image

thanks @Steel_Gadget, I’ve opened https://github.com/SonarSource/sonar-dotnet/issues/2772

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.