Closed
Bug 567679
Opened 15 years ago
Closed 15 years ago
Include the Linux distro name/version in all user agent strings
Categories
(Firefox :: General, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: ethana2, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3
If an Ubuntu user downloads a Firefox nightly, it identifies itself as running on Linux, but not on Ubuntu, making web statistics less valuable to everyone.
Reproducible: Always
Steps to Reproduce:
1. Download Firefox for 'linux'
2. execute it somehow
3. go to whatsmyuseragent.com/
Actual Results:
It says I'm on Linux
Expected Results:
It should have identified my OS as Ubuntu Lucid (32 bit Intel) by running and parsing uname on first run.
The useragent I pasted into the bug form is only correct because I'm running the version of Firefox that came with Ubuntu.
Comment 2•15 years ago
|
||
The user agent identifies the browser, not the system. (i.e. the "agent" of the user that's accessing things) The distro name only really belongs in the UA when it's that distro's build.
As an end user, it is more important to me that my useragent identifies my OS than it identify the actual browser. I expect to be given W3C compliant code regardless of this string. When useragents are integrated into actual code paths, people just get discriminated against, like how my mom has to use an extension to lie to government web sites about her browser so she can log in and whatever else.
I just want correct statistics.
![]() |
||
Updated•15 years ago
|
See Also: → https://launchpad.net/bugs/584758
![]() |
||
Comment 4•15 years ago
|
||
Moving component DevTools=>General but probably should be in Core or toolkit.
Probably WONTFIX however.
Component: Developer Tools → General
QA Contact: developer.tools → general
Comment 5•15 years ago
|
||
By the way, the "Linux i686" part is already derived from "uname -sm".
https://developer.mozilla.org/en/User_Agent_Strings_Reference
I'm running Kubuntu Lucid and what I get with "uname --all" is:
Linux dave-laptop 2.6.32-22-generic
#33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux
I don't think the info you're looking for is in uname as stated. I'll just rename the bug to state the intent instead.
I agree with Philip that this is probably WONTFIX, not just because UAs aren't really for this but also because of plenty of other arguments in the other direction to limit exposed info for privacy reasons.
Blocks: 71569
Severity: normal → enhancement
Summary: Firefox should determine its host platform using uname on first run → Include the Linux distro name/version in all user agent strings
![]() |
||
Comment 6•15 years ago
|
||
Also the current trend is towards shorter UA strings not longer.
Comment 7•15 years ago
|
||
bug 57555 wants a shorter UA, see also bug 566423
![]() |
||
Comment 8•15 years ago
|
||
The purpose of user agent strings is not to enable Linux distribution popularity contests.
https://developer.mozilla.org/en/User_Agent_Strings_Reference documents how the amount of information about the Linux used was _reduced_ for security reasons. I don't think we are planning to revisit that decision.
Gerv
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•