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

VERIFIED FIXED

Status

mozilla.org Graveyard
Server Operations
--
critical
VERIFIED FIXED
10 years ago
3 years ago

People

(Reporter: kohei, Assigned: oremj)

Tracking

Details

(URL)

(Reporter)

Description

10 years ago
+++ 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.

Updated

10 years ago
Assignee: server-ops → oremj
(Assignee)

Comment 1

10 years ago
Please reopen when URLs are available.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → INCOMPLETE

Comment 2

10 years ago
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.

Comment 4

10 years ago
I agree with Reed.

The whole reason AMO went to SSL was for security so Japan should be using SSL as well.

Comment 5

10 years ago
Reed, thanks for the advice. We'll setup SSL.

Comment 6

10 years ago
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 → ---

Comment 8

10 years ago
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]
(Assignee)

Comment 9

10 years ago
morgamic, approval?

Comment 10

10 years ago
Please push the button!

Updated

10 years ago
Severity: normal → critical
(In reply to comment #10)
> Please push the button!

Still waiting for approval from morgamic.

Comment 12

10 years ago
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.

Comment 14

10 years ago
sorry for the delay guys

a=baz

it's fine to do this

Comment 15

10 years ago
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.
(Assignee)

Comment 16

10 years ago
This should be all set.
Status: REOPENED → RESOLVED
Last Resolved: 10 years ago10 years ago
Resolution: --- → FIXED

Comment 17

10 years ago
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.