Closed
Bug 497316
Opened 16 years ago
Closed 16 years ago
Incorrect language negotiation happening with English
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 439568
People
(Reporter: matthew-bugzilla, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Build Identifier:
The HTTP specification states: "A language-range [in an Accept-Language
request header] matches a language-tag [in a variant] if it exactly
equals the tag, or if it exactly equals a prefix of the tag such that
the first tag character following the prefix is "-"." - ie. the request
can be a prefix of the document language.
If you set your browser to ask for English then French (ie. an Accept-Language header of e.g. "en, fr;q=0.5") then http://addons.mozilla.org will redirect you to the French front page when it should redirect to the English front page. I assume this is because the server has locales of en-us and fr, and so is not matching up on the prefix.
Reproducible: Always
Steps to Reproduce:
1. Set Firefox languages to be en, fr, in that order.
2. Go to http://addons.mozilla.org/
Actual Results:
You are redirected to the French front page.
Expected Results:
You should be redirected to the English front page.
Updated•16 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•