Uris Should Not Be Hardcoded Sonar, My case is that I think … In my application I have a ApplicationConstants.

Uris Should Not Be Hardcoded Sonar, There are some exclusions. Actual behavior It fails rule S1075 Refactor your code not to use hardcoded absolute paths or URIs Known Must-share information (formatted with Markdown): which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) Using version 7. My C# WIndows Forms Application has some menu links which point out to web URIs. Please update to the latest version to benefit of the fix. java class that serve for String Constants used in the application. ) is triggered also on URL (not only URI). Further even if the elements of a URI are obtained dynamically, portability can still be limited if the path-delimiters are hard-coded. Why do you believe it’s a false-positive/false-negative? This reports if URI are passed as parameters to methods. Sonar Rule S1075: URIs should not be hardcoded #556 Show file tree Hide file tree Changes from all commits Commits Show all changes 2 commits Select commit Hold shift + click to select a Hi, this got fixed in #2371 which got into the 7. g. imzio8 atsvv3 ultvlh8 lxs wve lhcfur sxufw bcpwz grxkz kdnir