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

Bug #917255 reported by Augustine Souza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
New
Undecided
Unassigned

Bug Description

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:
http://forums.whirlpool.net.au/forum-replies.cfm?t=1821427
and
http://forums.linuxmint.com/viewtopic.php?f=47&t=88994

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
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/controlC0: aes 1656 F.... pulseaudio
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,102802aa,00100302'
   Controls : 25
   Simple ctrls : 16
Channel: release
Date: Mon Jan 16 22:10:07 2012
ForcedLayersAccel: False
IfupdownConfig:
 auto lo
 iface lo inet loopback
IncompatibleExtensions:
 DOM Inspector - <email address hidden>, Version=2.0.10, minVersion=1.9a1, maxVersion=8.0a1, Location=app-profile, Type=extension, Active=Yes
 Inspect Context - <email address hidden>, Version=1.00, minVersion=2.0, maxVersion=10.*, Location=app-profile, Type=extension, Active=Yes
 SimpleBlock - <email address hidden>, 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)
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=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.

Revision history for this message
Augustine Souza (aesouza2008) wrote :
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This is bug 897794. Please try the current beta (see http://www.chriscoulson.me.uk/blog/?p=19 for how to do this).

Thanks!

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.