Closed
Bug 564530
Opened 16 years ago
Closed 15 years ago
Change Redirect for zh-CN locale of Firefox Uninstall Survey
Categories
(www.mozilla.org :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kkovash, Assigned: abuchanan)
Details
Attachments
(2 files)
|
654 bytes,
patch
|
wenzel
:
review+
|
Details | Diff | Splinter Review |
|
925 bytes,
patch
|
wenzel
:
review+
|
Details | Diff | Splinter Review |
For the Firefox Uninstall Survey, we need to modify the redirect rules so that the Chinese locale goes to a different landing page. The current implementation and redirect rules are discussed in bugs 489696 and 496023.
More specifically, the zh-CN locale of the uninstall survey should direct users to http://www.g-fox.cn/chn_feedback/uninstall.html. The redirect behavior for all other locales should remain as-is.
| Assignee | ||
Comment 1•16 years ago
|
||
So,
http://www.mozilla.com/zh-CN/firefox/uninstall/
needs to redirect to
http://www.g-fox.cn/chn_feedback/uninstall.html
right?
| Reporter | ||
Comment 2•16 years ago
|
||
(In reply to comment #1)
> So,
>
> http://www.mozilla.com/zh-CN/firefox/uninstall/
>
> needs to redirect to
>
> http://www.g-fox.cn/chn_feedback/uninstall.html
>
> right?
yes, I believe that's correct.
| Assignee | ||
Comment 3•16 years ago
|
||
| Assignee | ||
Comment 4•16 years ago
|
||
r67141 on stage and production
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 5•16 years ago
|
||
Amax -- can you confirm that you're receiving data (i.e., survey responses)?
Comment 6•16 years ago
|
||
http://www-trunk.stage.mozilla.com/zh-CN/firefox/uninstall/
GET /zh-CN/firefox/uninstall/ HTTP/1.1
<snip>
HTTP/1.1 302 Found
Date: Thu, 13 May 2010 00:06:16 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Location: http://www.g-fox.cn/chn_feedback/uninstall.html
Cache-Control: max-age=900, private, private
Expires: Thu, 13 May 2010 00:21:16 GMT
X-Backend-Server: dm-cms03
Content-Length: 0
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
----------------------------------------------------------
http://www.g-fox.cn/chn_feedback/js/util.htm
The above is a 404.
Comment 7•16 years ago
|
||
(In reply to comment #5)
> Amax -- can you confirm that you're receiving data (i.e., survey responses)?
Yes, we are receiving data, Thank you very much:)
Comment 8•16 years ago
|
||
That seems to be a bug, and it's fixed already, thanks to you:)
(In reply to comment #6)
> http://www-trunk.stage.mozilla.com/zh-CN/firefox/uninstall/
>
> GET /zh-CN/firefox/uninstall/ HTTP/1.1
> <snip>
>
> HTTP/1.1 302 Found
> Date: Thu, 13 May 2010 00:06:16 GMT
> Server: Apache
> X-Powered-By: PHP/5.1.6
> Location: http://www.g-fox.cn/chn_feedback/uninstall.html
> Cache-Control: max-age=900, private, private
> Expires: Thu, 13 May 2010 00:21:16 GMT
> X-Backend-Server: dm-cms03
> Content-Length: 0
> Keep-Alive: timeout=15, max=100
> Connection: Keep-Alive
> Content-Type: text/html; charset=UTF-8
> ----------------------------------------------------------
> http://www.g-fox.cn/chn_feedback/js/util.htm
>
> The above is a 404.
Comment 9•16 years ago
|
||
LingFeng: that util.htm URL still 404s for me:
http://www.g-fox.cn/chn_feedback/js/util.htm
GET /chn_feedback/js/util.htm HTTP/1.1
Host: www.g-fox.cn
<snip>
HTTP/1.1 404 Not Found
Server: nginx/0.6.39
Date: Fri, 14 May 2010 03:33:49 GMT
Content-Type: text/html
Comment 10•16 years ago
|
||
Stephend: Yes, you're right. That page does not exist. This is a bug, that script tag with src="js/util.html" shouldn't be in the uninstall survey page. The developer forgot to delete that line before publish, and it's fixed, thx to you:)
Ah, ok; thanks for clearing that up. Verified FIXED.
Status: RESOLVED → VERIFIED
Comment 12•16 years ago
|
||
You're welcome, and thank you very much for everything:)
Status: VERIFIED → RESOLVED
Closed: 16 years ago → 16 years ago
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 13•15 years ago
|
||
Not sure what's wrong, but Amax from the China office just emailed with these details:
"We found that when we uninstall Firefox3.6.3, the survey page is now going to https://survey.mozilla.com/1/Mozilla%20Firefox/3.6.3/zh-CN/exit.html, and then redirected to http://www.mozilla.com/en-US/firefox/uninstall/?version=1&application=Mozilla%20Firefox&ua=3.6.3&lang=zh-CN but not http://www.mozilla.com/zh-CN/firefox/uninstall/. So our localized uninstall survey page is not triggered. Could you help us on this?"
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 14•15 years ago
|
||
Thanks, Ken and sorry for the late response.
It seems that we were redirecting the wrong url. What we did is redirect http://www.mozilla.com/zh-CN/firefox/uninstall/ to http://www.g-fox.cn/chn_feedback/uninstall.html
But I found in the Firefox code that the uninstall survey url is actually
https://survey.mozilla.com/1/Mozilla%20Firefox/${AppVersion}/${AB_CD}/exit.html
(defined in http://mxr.mozilla.org/mozilla-central/source/other-licenses/branding/firefox/branding.nsi#47)
and in our case that is https://survey.mozilla.com/1/Mozilla%20Firefox/3.6.6/zh-CN/exit.html
and this page is redirected to http://www.mozilla.com/en-US/firefox/uninstall/?version=1&application=Mozilla%20Firefox&ua=3.6.3&lang=zh-CN
instead of http://www.mozilla.com/zh-CN/firefox/uninstall/.
So maybe we should redirect https://survey.mozilla.com/1/Mozilla%20Firefox/${AppVersion}/zh-CN/exit.html to http://www.mozilla.com/zh-CN/firefox/uninstall/?version=1&application=Mozilla%20Firefox&ua=3.6.3 instead of http://www.mozilla.com/en-US/firefox/uninstall/?version=1&application=Mozilla%20Firefox&ua=3.6.3&lang=zh-CN ?
| Assignee | ||
Comment 15•15 years ago
|
||
Wenzel, do you know how survey.m.c updates? Is it automatic? Manual via IT?
Assignee: nobody → abuchanan
Attachment #457428 -
Flags: review?(fwenzel)
| Assignee | ||
Comment 16•15 years ago
|
||
Attachment #457432 -
Flags: review?(fwenzel)
Comment 17•15 years ago
|
||
Comment on attachment 457432 [details] [diff] [review]
patch redirect on mozilla.com, so it includes query string
Do we need [QSA] there or does this work even so?
Either way, your solution is quite a bit cleaner than the previous one.
Attachment #457432 -
Flags: review?(fwenzel) → review+
| Assignee | ||
Comment 18•15 years ago
|
||
No need for QSA, I tested that. (I think because it's Redirect, not RewriteRule)
Updated•15 years ago
|
Attachment #457428 -
Flags: review?(fwenzel) → review+
Comment 19•15 years ago
|
||
(In reply to comment #15)
> Wenzel, do you know how survey.m.c updates? Is it automatic? Manual via IT?
Not the slightest idea, given that I never got and answer over in bug 489696, it might have been automatic. If you have time, wait a little, if not, file an IT bug :)
Comment 20•15 years ago
|
||
Guys, thank you so much
| Assignee | ||
Updated•15 years ago
|
Status: REOPENED → RESOLVED
Closed: 16 years ago → 15 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Component: www.mozilla.org/firefox → www.mozilla.org
Updated•13 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•