Closed Bug 427323 Opened 13 years ago Closed 12 years ago

Firefox 3 add-ons integration: redirects to addons.mozilla.jp

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: kohei.yoshino, Assigned: oremj)

References

()

Details

+++ This bug was initially created as a clone of Bug #358147 +++

We are working on upgrading our localized add-ons site to implement 'mashup' with  AMO API to support Firefox 3 Add-ons Manager integration. I'll provide new URLs for redirection when we are ready.
Assignee: server-ops → oremj
Please reopen when URLs are available.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
I have a question for you. Do we have to use SSL for these URLs? Our plan is:

1. Retrieve add-on meta data from AMO
(e.g. https://services.addons.mozilla.org/ja/firefox/api/addon/3006)

2. Replace the summary (and description, thumbnail, rating, in the future) with our localized ones.

3. Provide search API on addons.mozilla.jp, so Japanese people will be able to search localized add-ons from Add-ons Manager, in Japanese.

There is a hash value for each add-on installation link, and if that's enough to keep security, we won't use SSL.
I'd be worried about MITM attacks since this data is taken and shown in chrome.
I agree with Reed.

The whole reason AMO went to SSL was for security so Japan should be using SSL as well.
Reed, thanks for the advice. We'll setup SSL.
Our backend is now online.

For ja(-JP-mac).add-ons.mozilla.com, please replace the existing rules (which we have requested in Bug 358147) with this:

RewriteRule ^ja(-JP-mac)?/(firefox|thunderbird)(.*) https://addons.mozilla.jp/$1$2 [R=permanent,QSA,NE]

For services.addons.mozilla.org, please add the following rule:

RewriteRule ^ja(-JP-mac)?/(firefox|thunderbird)/api/([\d\.]+)/(list|search)/(.*) https://addons.mozilla.jp/$1/api/$2/$3/$4 [R=permanent,QSA,NE]
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
I made errors. Try again:

# For ja(-JP-mac).add-ons.mozilla.com
RewriteRule ^ja(-JP-mac)?/(firefox|thunderbird)(.*) https://addons.mozilla.jp/$2$3 [R=permanent,QSA,NE]

# For services.addons.mozilla.org
RewriteRule ^ja(-JP-mac)?/(firefox|thunderbird)/api/([\d\.]+)/(list|search)/(.*) https://addons.mozilla.jp/$2/api/$3/$4/$5 [R=permanent,QSA,NE]
morgamic, approval?
Please push the button!
Severity: normal → critical
(In reply to comment #10)
> Please push the button!

Still waiting for approval from morgamic.
Reed, we really need this done ASAP.  Can you call Mike on his cell for approval?
(In reply to comment #12)
> Reed, we really need this done ASAP.  Can you call Mike on his cell for
> approval?

Called Mike. He says it's really Basil's decision, so I called Basil's cell but only got voicemail. Left a message, so hopefully he'll call me back or respond here soon.
sorry for the delay guys

a=baz

it's fine to do this
Due to Bug 415317, CJKT users cannot search using non-ASCII characters from the Add-ons Manager. With these redirects, Japanese people will be able to search using Japanese chars, but the problem still remains for others. Please look into the Bug 415317 too.
This should be all set.
Status: REOPENED → RESOLVED
Closed: 13 years ago12 years ago
Resolution: --- → FIXED
Super! Thank you!
Status: RESOLVED → VERIFIED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.