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
{{ message }}
Repository navigation
User Agent Statically Reports "Windows NT" as the platform. #4913
Issue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issues
I see the UserAgent class contains public properties to emulate different User-Agents.
Based on FireFox it seems the properties return broken User-Agent strings. We don't use the properties. Why we expose its? If an user want emulate a native User-Agent string he can copy-paste real string.
Maybe removing the public members could be a separate issue. It's definitely a breaking change as people use it now.
My real concern is the Internal UserAgent member which the public will come to recognize as PowerShell's User-Agent signature for the Web Cmdlets (and for better or worse shape their HTTP responses to it). That should definitely have the correct Platform portion.
Issue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issues
Activity
SteveL-MSFT commentedon Sep 25, 2017
Expected platform seems right based on behavior of Internet Explorer and Safari
iSazonov commentedon Sep 26, 2017
I see the
UserAgentclass contains public properties to emulate different User-Agents.Based on FireFox it seems the properties return broken User-Agent strings. We don't use the properties. Why we expose its? If an user want emulate a native User-Agent string he can copy-paste real string.
markekraus commentedon Sep 26, 2017
Maybe removing the public members could be a separate issue. It's definitely a breaking change as people use it now.
My real concern is the Internal
UserAgentmember which the public will come to recognize as PowerShell's User-Agent signature for the Web Cmdlets (and for better or worse shape their HTTP responses to it). That should definitely have the correct Platform portion.