Closed Bug 299707 Opened 19 years ago Closed 19 years ago

HTTP_ACCEPT_LANGUAGE only contains the first two configured languages

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: andreas, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Although you can configure more than two languages as prefered language in the
FF preference only the first two languages are send through HTTP in the
HTTP_ACCEPT_LANGUAGE header.

Reproducible: Always
WFM in WinXP. See: http://img.photobucket.com/albums/v337/tamarix/accept.jpg
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050705
Firefox/1.0+ ID:2005070500
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050630
Firefox/1.0+

Works for me with 4 languages, tested with
<http://gemal.dk/browserspy/headers.php>. I got "en,nl;q=0.8,es;q=0.5,fr;q=0.3".
Andreas, I think your webserver stops reading when it encounters the ';' right
after the second language.
Sorry. This seen behaviour was masquerated through a co-workers application error.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.