← Back to team overview

desktop-packages team mailing list archive

[Bug 867753] Re: Accept-Language header contains incorrect value

 

The way this works is that intl.accept_languages is set to a localized
value which comes from the language pack for your selected locale (and
the selected locale comes from the environment), Defaulting to en-us
when you uninstall the GB language pack is the expected behaviour
regardless of your environment, as you have nothing providing a
correctly localized value for intl.accept_languages anymore.

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

Title:
  Accept-Language header contains incorrect value

Status in “firefox” package in Ubuntu:
  Invalid

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+nobinonly-0ubuntu0.11.04.1
  ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic x86_64
  AddonCompatCheckDisabled: False
  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/controlC0:  phill      1675 F.... pulseaudio
  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,14621033,00100101 HDA:80862804,14621033,00100000'
     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=7.0.1/20110928224508 (Running)
  RfKill:
   0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
  RunningIncompatibleAddons: False
  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.asset.tag: To be filled by O.E.M.
  dmi.board.name: To be filled by O.E.M.
  dmi.board.vendor: Micro-Star International
  dmi.board.version: Ver.001
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 9
  dmi.chassis.vendor: Micro-Star International
  dmi.chassis.version: Ver.001
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrE1681IG6VER.109:bd07/21/2010:svnMicro-StarInternational:pnCalpellaplatform:pvrVer.001:rvnMicro-StarInternational:rnTobefilledbyO.E.M.:rvrVer.001:cvnMicro-StarInternational:ct9:cvrVer.001:
  dmi.product.name: Calpella platform
  dmi.product.version: Ver.001
  dmi.sys.vendor: Micro-Star International

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/867753/+subscriptions


References