[Bug 917255] [NEW] Location of "Ubuntu" in user agent string causes Firefox to be treated as "mobile"

Augustine Souza 917255 at bugs.launchpad.net
Mon Jan 16 16:56:20 UTC 2012

Public bug reported:

http://www.property24.com/ currently does not open. Instead it suggests
downloading "mobile.aspx".

Changing the UA string by removing "Ubuntu" from the string or
relocating it allows proper access to the page.

In other words,
Firefox 9.0.1:: Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 does not work.
Firefox 9.0.1:: Mozilla/5.0 (X11; Linux i686; rv:9.0.1) Gecko/20100101, Ubuntu, Firefox/9.0.1 works.

Other Linux distros (not related to Ubuntu) do not have a problem. Nor
does Chromium sourced from Ubuntu. In the case of Chromium, "Ubuntu"
does not precede "X11" and is placed lower down in the string, after
"(KHTML, like Gecko)".

There have been reports of two other sites not opening with Ubuntu's Firefox, or mistaking Ubuntu's Firefox as a mobile platform:

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: firefox 9.0.1+build1-0ubuntu0.11.10.2
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic-pae 3.0.9
Uname: Linux 3.0.0-14-generic-pae i686
NonfreeKernelModules: wl
AddonCompatCheckDisabled: False
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: i386
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
 /dev/snd/controlC0:  aes        1656 F.... pulseaudio
BuildID: 20111228084953
CRDA: Error: [Errno 2] No such file or directory
 Card hw:0 'Intel'/'HDA Intel at 0xf6afc000 irq 47'
   Mixer name	: 'IDT 92HD71B7X'
   Components	: 'HDA:111d76b2,102802aa,00100302'
   Controls      : 25
   Simple ctrls  : 16
Channel: release
Date: Mon Jan 16 22:10:07 2012
ForcedLayersAccel: False
 auto lo
 iface lo inet loopback
 DOM Inspector - ID=inspector at mozilla.org, Version=2.0.10, minVersion=1.9a1, maxVersion=8.0a1, Location=app-profile, Type=extension, Active=Yes
 Inspect Context - ID=inspectcontext at max.max, Version=1.00, minVersion=2.0, maxVersion=10.*, Location=app-profile, Type=extension, Active=Yes
 SimpleBlock - ID=SimpleBlock at aksoftware.ne1.net, Version=0.0.7, minVersion=3.0, maxVersion=10.*, Location=app-profile, Type=extension, Active=Yes
 Stylish - ID={46551EC9-40F0-4e47-8E18-8E5CF550CFB8}, Version=1.2.4, minVersion=2.0, maxVersion=10.*, Location=app-profile, Type=extension, Active=Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
 default via dev ppp0  proto static dev ppp0  proto kernel  scope link  src dev ppp0  scope link  metric 1000
 PATH=(custom, no user)
Profiles: Profile0 (Default) - LastVersion=11.0a2/20120116042010 (Out of date)
RunningIncompatibleAddons: True
SourcePackage: firefox
UpgradeStatus: Upgraded to oneiric on 2011-10-15 (93 days ago)
dmi.bios.date: 02/25/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A05
dmi.board.name: 0J037P
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA05:bd02/25/2009:svnDellInc.:pnInspiron1545:pvr:rvnDellInc.:rn0J037P:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 1545
dmi.sys.vendor: Dell Inc.

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: apport-bug i386 oneiric running-unity

You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.

  Location of "Ubuntu" in user agent string causes Firefox to be treated
  as "mobile"

To manage notifications about this bug go to:

More information about the Ubuntu-mozillateam-bugs mailing list