Closed
Bug 531181
Opened 15 years ago
Closed 15 years ago
localized Get themes links are redirecting to en-US/ subdirectory first
Categories
(Websites Graveyard :: getpersonas.com, defect)
Websites Graveyard
getpersonas.com
Tracking
(Not tracked)
VERIFIED
FIXED
2.2
People
(Reporter: tchung, Assigned: rdoherty)
References
Details
(Whiteboard: 3.6Br4)
Attachments
(1 file)
1.63 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
A few localized beta 4 pages are redirecting to the en-US/ subdirectory, instead of the locale itself. de and ja are two examples. HOwever, some work fine, like fr.
Repro:
1) install 3.6 beta 4 ja or de locale (Mozilla/5.0 (X11; U; Linux i686; ja; rv:1.9.2b4) Gecko/20091124 Firefox/3.6b4)
2) go to addons manager > Themes > Get Themes link
3) Verify the Page redirects to a /en-US/%LOCALE%/ page instead of /%LOCALE/ directly.
Direct (fr):
- http://www.getpersonas.com/fr/gallery/All/Popular
Redirect (ja, de):
- http://www.getpersonas.com/en-US/de/gallery/All/Popular
- http://www.getpersonas.com/en-US/ja/gallery/All/Popular
Expected:
- no redirect to /en-US/
Reporter | ||
Updated•15 years ago
|
Whiteboard: 3.6Br4
Comment 1•15 years ago
|
||
Yes, this is because GetPersonas.com is not-yet localized: bug 499332.
Comment 2•15 years ago
|
||
Also, I don't think this is an AMO bug.
Reporter | ||
Comment 3•15 years ago
|
||
(In reply to comment #1)
> Yes, this is because GetPersonas.com is not-yet localized: bug 499332.
But fr isnt' localized either, yet it redirects there. I havent checked other locales outside of these, but any reason why fr is an exception so far?
Reporter | ||
Comment 4•15 years ago
|
||
Stephen, am i duping you here? bug 528318 comment 7. if so, please dupe for me, thanks!
Comment 5•15 years ago
|
||
(In reply to comment #4)
> Stephen, am i duping you here? bug 528318 comment 7. if so, please dupe for
> me, thanks!
I'm going to set a dependency here, so we can track this case specifically; thanks.
Depends on: 499332
Updated•15 years ago
|
Component: Public Pages → getpersonas.com
Product: addons.mozilla.org → Websites
QA Contact: web-ui → getpersonas-com
Assignee | ||
Comment 6•15 years ago
|
||
Wil: simplest fix is for AMO to redirect to getpersonas.com/gallery/All and let getpersonas.com do the locale detection.
Can this get in ASAP? Looks like it blocks 3.6
Assignee | ||
Comment 7•15 years ago
|
||
this patch removes the locale code from the url, which allows getpersonas.com to detect locale and redirect if it supports it. otherwise it will redirect to en-US.
Attachment #421121 -
Flags: review?(clouserw)
Comment 8•15 years ago
|
||
Comment on attachment 421121 [details] [diff] [review]
v1
go for it
Attachment #421121 -
Flags: review?(clouserw) → review+
Assignee | ||
Comment 9•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Assignee: nobody → rdoherty
Assignee | ||
Comment 10•15 years ago
|
||
For QA:
Changed redirect from AMO to getpersonas.com from:
addons.mozilla.org/%locale%/firefox/getpersonas =>
getpersonas.com/%locale%/gallery/All
to:
addons.mozilla.org/%locale%/firefox/getpersonas =>
getpersonas.com/gallery/All
getpersonas.com will attempt locale detection
Updated•15 years ago
|
Target Milestone: --- → 2.2
Verified FIXED using a Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) build (Polish is the only ready locale on Personas stage, currently):
http://personas.stage.mozilla.com/
GET / HTTP/1.1
Host: personas.stage.mozilla.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: pl,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: __utma=183859642.826027427.1263329930.1263329930.1263329930.1; __utmb=183859642; __utmz=183859642.1263329930.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); s_vsn_mozillacom_1=4777731657377; s_sq=%5B%5BB%5D%5D; s_cc=true; __utmc=183859642
HTTP/1.x 302 Found
Server: Apache/2.2.3 (CentOS)
Content-Type: text/html; charset=UTF-8
Date: Tue, 12 Jan 2010 20:58:39 GMT
Location: http://personas.stage.mozilla.com/pl/
Connection: Keep-Alive
X-Powered-By: PHP/5.1.6
X-Cache-Info: not cacheable; response is 302 without expiry time
Content-Length: 0
----------------------------------------------------------
http://personas.stage.mozilla.com/pl/
GET /pl/ HTTP/1.1
Host: personas.stage.mozilla.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: pl,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: __utma=183859642.826027427.1263329930.1263329930.1263329930.1; __utmb=183859642; __utmz=183859642.1263329930.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); s_vsn_mozillacom_1=4777731657377; s_sq=%5B%5BB%5D%5D; s_cc=true; __utmc=183859642
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
Product: Websites → Websites Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•