The user agent is generic Linux and not Ubuntu 11.04 Natty

Bug #787298 reported by Matt Jones
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: firefox

In firefox 4 the user agent string says just Linux. It should say the OS name, version, and architecture (Ubuntu Natty 11.04 x86_64).

Revision history for this message
Michael Nelson (michael.nelson) wrote :

This also affects other projects which try to detect the OS version to display the most relevant application version for a user (ie. apps.ubuntu.com).

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Since Firefox 4, Mozilla has changed the way useragent strings work. It is no longer possible to add a vendor-specific extension. Please see the bottom of https://developer.mozilla.org/en/Gecko_user_agent_string_reference It suggests using an HTTP header (using a Firefox extension) to get a similar result.

Changed in firefox (Ubuntu):
status: New → Invalid
Revision history for this message
Micah Gersten (micahg) wrote :

This will actually be restored in Firefox 8 which will be coming to 11.04 shortly.

Revision history for this message
Micah Gersten (micahg) wrote :

Umm, this will be Ubuntu specific, the upstream builds still won't have this.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Micah, this is my useragent on Precise. Will the Ubuntu version number be restored also?

Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:9.0) Gecko/20100101 Firefox/9.0

Changed in firefox (Ubuntu):
status: Invalid → Triaged
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

No version number will be restored

Revision history for this message
Micah Gersten (micahg) wrote :

Ah, right, it's just the 'Ubuntu' string. Marking invalid again.

Changed in firefox (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.