← Back to team overview

desktop-packages team mailing list archive

[Bug 578717] Re: User Agent string says "Debian/squeeze/sid ()" instead of "Ubuntu/10.04 LTS (lucid)"

 

** Tags added: testcase

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to epiphany-browser in Ubuntu.
https://bugs.launchpad.net/bugs/578717

Title:
  User Agent string says "Debian/squeeze/sid ()" instead of
  "Ubuntu/10.04 LTS (lucid)"

Status in “epiphany-browser” package in Ubuntu:
  Fix Released
Status in “epiphany-browser” source package in Lucid:
  Fix Released

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://useragentstring.com/.

  
  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://blueprints.launchpad.net/ubuntu/+spec/community-m-ubuntu-
  support-and-learning-center).

  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://useragentstring.com/
   3) Inspect the user agent string
   Expected result: the string contains "Ubuntu/10.04 LTS"
   Current result: the string contains "Debian/squeeze/sid"

  Regression potential: None as far as I know.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/epiphany-browser/+bug/578717/+subscriptions