Location of "Ubuntu" in user agent string causes Firefox to be treated as "mobile"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
http://
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:
http://
and
http://
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: firefox 9.0.1+build1-
ProcVersionSign
Uname: Linux 3.0.0-14-
NonfreeKernelMo
AddonCompatChec
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: i386
ArecordDevices:
**** 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
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
AuditLog:
BuildID: 20111228084953
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf6afc000 irq 47'
Mixer name : 'IDT 92HD71B7X'
Components : 'HDA:111d76b2,
Controls : 25
Simple ctrls : 16
Channel: release
Date: Mon Jan 16 22:10:07 2012
ForcedLayersAccel: False
IfupdownConfig:
auto lo
iface lo inet loopback
IncompatibleExt
DOM Inspector - <email address hidden>, Version=2.0.10, minVersion=1.9a1, maxVersion=8.0a1, Location=
Inspect Context - <email address hidden>, Version=1.00, minVersion=2.0, maxVersion=10.*, Location=
SimpleBlock - <email address hidden>, Version=0.0.7, minVersion=3.0, maxVersion=10.*, Location=
Stylish - ID={46551EC9-
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
IpRoute:
default via 115.69.240.3 dev ppp0 proto static
115.69.240.3 dev ppp0 proto kernel scope link src 115.69.244.111
169.254.0.0/16 dev ppp0 scope link metric 1000
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
Profiles: Profile0 (Default) - LastVersion=
RunningIncompat
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.
dmi.product.name: Inspiron 1545
dmi.sys.vendor: Dell Inc.
This is bug 897794. Please try the current beta (see http:// www.chriscoulso n.me.uk/ blog/?p= 19 for how to do this).
Thanks!