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

RESOLVED FIXED

Status

www.mozilla.org
Pages & Content
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: pollti, Assigned: jgmize)

Tracking

Production

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
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.
(Reporter)

Comment 2

2 years ago
I see https://www.mozilla.org/ru from here with Firefox and Edge - even after deleting cookies and cache.
(Reporter)

Updated

2 years ago
Summary: https://www.mozilla.org/credits/ links to russian mozilla.org → https://www.mozilla.org/credits/ links to wrong locale of mozilla.org
(Reporter)

Comment 3

2 years ago
It seems to be in russian for several users in Germany.
Strangely enough I'm getting the correct locale (Italian).
(Reporter)

Comment 5

2 years ago
Another German user just told me he is getting a German website.
(Assignee)

Comment 6

2 years ago
Created attachment 8702376 [details] [review]
bedrock PR 3710
(Assignee)

Comment 7

2 years ago
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

Comment 8

2 years ago
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

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
(Reporter)

Comment 9

2 years ago
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.