User Agent string says "Debian/squeeze/sid ()" instead of "Ubuntu/10.04 LTS (lucid)"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
epiphany-browser (Ubuntu) |
Fix Released
|
Low
|
Luke Faraone | ||
Lucid |
Fix Released
|
Low
|
Luke Faraone |
Bug Description
Binary package hint: epiphany-browser
In epiphany 2.30.2 in lucid, the user agent string is the following:
Mozilla/5.0 (X11; U; Linux i686; fr-fr) AppleWebKit/531.2+ (KHTML, like Gecko) Safari/531.2+ Debian/squeeze/sid () Epiphany/2.30.2
To be compared with the user agent string exposed by firefox:
Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3
This makes detecting the version of Ubuntu at best difficult.
The user agent string can be inspected easily at e.g. http://
Information for an SRU:
Impact of the bug on users: when browsing a dynamic website that relies on the user agent string to determine the OS and its version and display content accordingly, the user may not get the intended content (such a web site may be e.g. the Ubuntu support and learning center, as was discussed last UDS: see https:/
Fixed in the development branch: by modifying the branding.conf file (see related branches).
TEST CASE:
1) Open Epiphany (Applications menu > Internet > Epiphany Web Browser)
2) Browse to http://
3) Inspect the user agent string
Expected result: the string contains "Ubuntu/10.04 LTS"
Current result: the string contains "Debian/
Regression potential: None as far as I know.
Related branches
- Ubuntu branches: Pending requested
-
Diff: 10 lines (+2/-2)1 file modifieddebian/branding.conf.in (+2/-2)
- Luke Faraone: Approve
- James Westby (community): Needs Information
-
Diff: 10 lines (+2/-2)1 file modifieddebian/branding.conf.in (+2/-2)
Changed in epiphany-browser (Ubuntu): | |
status: | Incomplete → In Progress |
assignee: | nobody → Luke Faraone (lfaraone) |
Changed in epiphany-browser (Ubuntu): | |
importance: | Undecided → Low |
Changed in epiphany-browser (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in epiphany-browser (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in epiphany-browser (Ubuntu Lucid): | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Luke Faraone (lfaraone) |
Changed in epiphany-browser (Ubuntu Lucid): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
The fix is pretty trivial, the information to be changed sits in /usr/share/ epiphany- browser/ branding. conf.