Closed
Bug 378455
Opened 19 years ago
Closed 19 years ago
incorrect redirects for in-product links to AMO (wrong language)
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: shaver, Assigned: oremj)
Details
https://en-us.add-ons.mozilla.com/en-US/firefox/2.0.0.3/extensions/ redirects to https://addons.mozilla.org/es-ES/firefox/browse/type:1 as one example. Need to get some eyes on the redirect config ASAP, I think.
People are reporting that they sometimes get german, sometimes italian, sometimes spanish when picking the in-product links from Minefield nightlies, too -- not sure if there are different configs on different redirect handlers or some cache wackiness or what.
| Reporter | ||
Updated•19 years ago
|
Summary: incorrect redirects for in-product links (wrong language) → incorrect redirects for in-product links to AMO (wrong language)
| Assignee | ||
Updated•19 years ago
|
Assignee: server-ops → oremj
| Assignee | ||
Comment 1•19 years ago
|
||
This is the path that the redirects follow.
--10:43:47-- http://en-us.add-ons.mozilla.com/en-US/firefox/2.0.0.3/extensions/
=> `-'
Resolving en-us.add-ons.mozilla.com... 63.245.209.37
Connecting to en-us.add-ons.mozilla.com|63.245.209.37|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 302 Found
Age: 313
Date: Mon, 23 Apr 2007 17:38:40 GMT
Connection: Keep-Alive
Via: NS-CACHE-6.0: 4
ETag: "KXNHBKKPDLRNRZLR"
Server: Apache/2.0.52 (Red Hat)
Location: https://addons.mozilla.org/firefox/extensions/
Content-Length: 322
Keep-Alive: timeout=20, max=992
Content-Type: text/html; charset=iso-8859-1
Location: https://addons.mozilla.org/firefox/extensions/ [following]
--10:43:47-- https://addons.mozilla.org/firefox/extensions/
=> `-'
Resolving addons.mozilla.org... 63.245.209.31
Connecting to addons.mozilla.org|63.245.209.31|:443... connected.
HTTP request sent, awaiting response...
HTTP/1.0 302 Found
Date: Mon, 23 Apr 2007 17:43:47 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/4.3.9
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, private
Pragma: no-cache
Location: https://addons.mozilla.org/en-US/firefox/extensions/
Content-Length: 0
Connection: close
Content-Type: text/html; charset=UTF-8
Location: https://addons.mozilla.org/en-US/firefox/extensions/ [following]
--10:43:47-- https://addons.mozilla.org/en-US/firefox/extensions/
| Assignee | ||
Comment 2•19 years ago
|
||
So either the addons.mozilla.org redirects are being cached incorrectly at 'https://addons.mozilla.org/firefox/extensions/' or 'http://en-us.add-ons.mozilla.com/en-US/firefox/2.0.0.3/extensions/' needs to redirect to somewhere else.
| Assignee | ||
Comment 3•19 years ago
|
||
When it was redirecting to es-ES the redirect at https://addons.mozilla.org/en-US/firefox/extensions/ was in the NS cache.
| Assignee | ||
Comment 4•19 years ago
|
||
Adding the locale into the add-ons.mozilla.com redirect would probably solve this issue.
Does that sound ok?
| Reporter | ||
Comment 5•19 years ago
|
||
That sounds like the right thing, yeah, for all the locales that are supported (listed in the dropdown) on AMO.
We should figure out why the NS is caching that redirect, though, because it shouldn't be; that defeats the language detection in a pretty brutal way. I suspect that we want to just not cache redirects at all for AMO, but I may be forgetting some cases.
| Assignee | ||
Comment 6•19 years ago
|
||
I think version check sends a 302 to releases. We would still want to cache that if I am correct.
| Reporter | ||
Comment 7•19 years ago
|
||
Version check shouldn't be sending a 302, it should be giving back an RDF file. If we're caching the lang-redirect from the old v2 URLs, we have a serious bug that will give users the wrong language a lot of the time. Should I file something separate to track that, or just follow it here?
| Assignee | ||
Comment 8•19 years ago
|
||
Redirect from *.add-ons.mozilla.com is fixed. I believe there is another bug for the caching problems on addons.mozilla.org
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•