You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes reverse proxies and other logic that cares about this value (such as different auth flows for scanners than users) to break.
And is very annoying to debug because it's such a small error.
The text was updated successfully, but these errors were encountered:
The following line of code is wrong:
sonar-scanner-msbuild/src/SonarScanner.MSBuild.PreProcessor/WebClientDownloader.cs
Line 54 in 290ed63
returns
UserAgent
the name of the enum variant.However, the correct value of the header is
User-Agent
as seen here:https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent
This causes reverse proxies and other logic that cares about this value (such as different auth flows for scanners than users) to break.
And is very annoying to debug because it's such a small error.
The text was updated successfully, but these errors were encountered: