Closed Bug 1235426 Opened 8 years ago Closed 8 years ago

https://www.mozilla.org/credits/ links to wrong locale of mozilla.org

Categories

(www.mozilla.org :: Pages & Content, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pollti, Assigned: jgmize)

Details

Attachments

(1 file)

44 bytes, text/x-github-pull-request
Details | Review
STR:
#Visit https://www.mozilla.org/credits/.
#Scroll down.
#Click on the link "Mozilla project".

Actual result:
The link links to https://www.mozilla.org/ru/.

Expected result:
This should link to https://www.mozilla.org (locale-neutral).
Interestlingly, it links to https://www.mozilla.org/es-ES/ for me (and I don't have it in the accept-lang headers sent by my browser), I guess there is a caching problem and you are seeing the cached version of the page of a previous russian-speaking visitor.
I see https://www.mozilla.org/ru from here with Firefox and Edge - even after deleting cookies and cache.
Summary: https://www.mozilla.org/credits/ links to russian mozilla.org → https://www.mozilla.org/credits/ links to wrong locale of mozilla.org
It seems to be in russian for several users in Germany.
Strangely enough I'm getting the correct locale (Italian).
Another German user just told me he is getting a German website.
Attached file bedrock PR 3710
This is due to the contents of /credits being cached from users with different Accept-Language headers. Filed PR to remove locale from link. Thanks for filing!
Assignee: nobody → jmize
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/cddb83e93aecf17a71813c25dbf8d76b1ba87ac8
Fix link to home page on /credits: fix bug 1235426

Hard code link to eliminate caching locale

https://github.com/mozilla/bedrock/commit/3ff6846a1c4360571fbedbea2bc5a6c6b28f6f4d
Merge pull request #3710 from jgmize/fix-credits-link

Fix link to home page on /credits: fix bug 1235426
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Thank you for the quick fix!
Note that this still needs to be pushed to production (I guess next week), so it's expected to still see the issue in the meantime.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: