Closed
Bug 409419
Opened 17 years ago
Closed 17 years ago
https://uk.add-ons.mozilla.com/uk/firefox/ does not redirect correctly
Categories
(addons.mozilla.org Graveyard :: Localization, defect)
addons.mozilla.org Graveyard
Localization
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: pascalc, Assigned: oremj)
Details
Some of the link redirects we use work for some languages, some don't : https://uk.add-ons.mozilla.com/uk/firefox/ -> redirects to http accept-lang choice https://de.add-ons.mozilla.com/de/firefox/ -> redirects to https://addons.mozilla.org/de/firefox/
Comment 1•17 years ago
|
||
I seem to recall these were hardcoded redirects and since uk is newer than de it's probably not in the list. I'm assigning to oremj to check if this is true. If it is, I can give a list of all languages AMO supports to add to the list.
Assignee: nobody → oremj
Assignee | ||
Comment 2•17 years ago
|
||
Yep, uk isn't in there. The whole list would be nice.
Comment 3•17 years ago
|
||
'cs' 'da' 'de' 'en-US' 'el' 'es-ES' 'eu' 'fi' 'fr' 'it' 'ja' 'ko' 'mn' 'nl' 'pl' 'ro' 'ru' 'sk' 'sq' 'uk'
Assignee | ||
Comment 4•17 years ago
|
||
- RewriteRule ^/(cs|da|de|en-US|es-ES|fr|it|ja|ko|pl|ro|ru|sk|sq)/(.+?)/(\d.+?)/(.*)$ https://addons.mozilla.org/$1/$2/$4 [R,L] - RewriteRule ^/(cs|da|de|en-US|es-ES|fr|it|ja|ko|pl|ro|ru|sk|sq)(/.*)?$ https://addons.mozilla.org/$1$2 [R,L] + RewriteRule ^/(cs|da|de|en-US|el|es-ES|eu|fi|fr|it|ja|ko|mn|nl|pl|ro|ru|sk|sq|uk)/(.+?)/(\d.+?)/(.*)$ https://addons.mozilla.org/$1/$2/$4 [R,L] + RewriteRule ^/(cs|da|de|en-US|el|es-ES|eu|fi|fr|it|ja|ko|mn|nl|pl|ro|ru|sk|sq|uk)(/.*)?$ https://addons.mozilla.org/$1$2 [R,L] Pushed above changes live.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Status: RESOLVED → VERIFIED
Updated•8 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
•