Closed Bug 634963 Opened 15 years ago Closed 15 years ago

Add-on Validator does not work on Firefox 4.

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED
5.12.11

People

(Reporter: bugzilla, Assigned: oremj)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b12pre) Gecko/20110217 Firefox/4.0b12pre Build Identifier: Not sure if this is a problem with the site or the browser. The Add-on validator does not work on the latest Firefox Nightly. Reproducible: Always Steps to Reproduce: Try to validate an XPI file on https://addons.mozilla.org/en-US/developers/addon/validate Actual Results: nothing happens in the browser window. Error console reports: Error: MAXFILESIZE is not defined Source File: https://static.addons.mozilla.net/js/developers.js Line: 374 Expected Results: It should validate the xpi file
I see "BASEDIR is not defined", but yeah, it's broken. This is getting replaced in bug 627530, which is scheduled to go live next Thursday. Otherwise, we'll fix this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → 5.12.11
Assignee: nobody → clouserw
-> oremj. This is because js_constants.js is a 403
Assignee: clouserw → jeremy.orem+bugs
FYI, this is a dupe of bug 632023.
Severity: normal → blocker
This seems to work: > --- files/generic/httpd-app-amo/etc-httpd/conf/domains/addons.mozilla.org.remora.conf (revision 11936) > +++ files/generic/httpd-app-amo/etc-httpd/conf/domains/addons.mozilla.org.remora.conf (working copy) > @@ -35,7 +35,7 @@ > RewriteEngine On > > RewriteCond %{REQUEST_URI} ^/_files/.*$ [OR] > - RewriteCond %{REQUEST_URI} \.(css|gif|ico|jpg|js|jsi18n|png|svg|woff)/?$ > + RewriteCond %{THE_REQUEST} "^GET .*\.(css|gif|ico|jpg|js|jsi18n|png|svg|woff)/?(\?.*)? HTTP/[\d\.]*$" > RewriteRule . - [E=IS_CDN_REQ:true] > > RewriteCond %{HTTP_HOST} ^static.addons.mozilla.net$ Should I make the change in production?
(In reply to comment #4) > Should I make the change in production? Let's do it with our push tomorrow. We can close this since it works on stage.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
(In reply to comment #5) > (In reply to comment #4) > > Should I make the change in production? > > Let's do it with our push tomorrow. We can close this since it works on stage. Can we get the redirect on trunk staging, to verify?
OS: Linux → All
Hardware: x86 → All
To be clear, I was seeing: [12:39:00.304] GET https://addons-cdn.allizom.org/en-US/firefox/pages/js_constants.js [HTTP/1.1 403 Forbidden 52ms] [12:39:06.214] BASEDIR is not defined @ https://addons-cdn.allizom.org/js/developers.js:419
That was a typo in preview.
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: