Accept-Language header contains incorrect value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Invalid
|
Medium
|
|||
firefox (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Both my OS and Firefox preferences has en-GB and en as the language, however, it's sending "en-US, en" in the "accept-language" request header. This was verified using Bugzilla after finding the problem. Dates on some sites are a particular problem given that for many dates there is no way to tell the difference between en-GB and en-US, you just read the date wrong.
Steps to reproduce:
1) Start Firefox
2) In Edit -> Preferences - check the lanugage settings are "en-gb" and "en".
3) Start Firebug.
4) Access www.google.co.uk
5) Check the "Net" tab in firebug.
6) Expand the first (or any line).
7) Scroll to the "Request Headers".
8) Observe "Accept-language" contains "en-us,en;q=0.5".
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: firefox 7.0.1+build1+
ProcVersionSign
Uname: Linux 2.6.38-11-generic x86_64
AddonCompatChec
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
BuildID: 20110928224508
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf6800000 irq 43'
Mixer name : 'Intel IbexPeak HDMI'
Components : 'HDA:10ec0662,
Controls : 20
Simple ctrls : 11
Channel: release
Date: Tue Oct 4 19:03:40 2011
EcryptfsInUse: Yes
ForcedLayersAccel: False
IfupdownConfig:
auto lo
iface lo inet loopback
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
IpRoute:
192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.2 metric 2
169.254.0.0/16 dev wlan0 scope link metric 1000
default via 192.168.0.1 dev wlan0 proto static
ProcEnviron:
LANGUAGE=en_GB:en
LANG=en_GB.UTF-8
SHELL=/bin/bash
Profiles: Profile0 (Default) - LastVersion=
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
RunningIncompat
SourcePackage: firefox
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/21/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: E1681IG6 VER.109
dmi.board.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: Micro-Star International
dmi.board.version: Ver.001
dmi.chassis.
dmi.chassis.type: 9
dmi.chassis.vendor: Micro-Star International
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: Calpella platform
dmi.product.
dmi.sys.vendor: Micro-Star International
description: | updated |
Changed in firefox: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in firefox: | |
status: | Confirmed → Invalid |
Changed in firefox (Ubuntu): | |
status: | Triaged → Invalid |
Thanks, but that works fine here. What is intl.accept_ languages set to in about:config, and what does the Status column say?