Closed
Bug 649789
Opened 14 years ago
Closed 14 years ago
Parts of the file viewer being rewritten to the cdn
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
addons.mozilla.org Graveyard
Developer Pages
Tracking
(Not tracked)
RESOLVED
FIXED
6.0.7
People
(Reporter: andy+bugzilla, Assigned: oremj)
References
Details
File viewer has the filename in the url. The filename could end with .js, and seems to get rewritten onto the CDN.
For example:
https://addons.allizom.org/z/en-US/firefox/files/browse/115275/file/defaults/preferences/yslow.js
Becomes:
https://addons-cdn.allizom.org/z/en-US/firefox/files/browse/115275/file/defaults/preferences/yslow.js
Either we can a) stop using the filename in the file viewer (although I kind of like it) or b) white list /files/browse/ and /files/compare/ so they don't.
| Reporter | ||
Comment 1•14 years ago
|
||
After chatting to clouserw can we go with item b) please.
Assignee: nobody → jeremy.orem+bugs
| Assignee | ||
Comment 2•14 years ago
|
||
Did this in preview/next:
- RewriteCond %1 \.(css|gif|ico|jpg|js|jsi18n|png|svg|woff)$
+ RewriteCond %1 \.(?:css|gif|ico|jpg|js|jsi18n|png|svg|woff)$
+ RewriteCond %1 !/files/(?:browse|compare)/
Can someone try it out?
| Reporter | ||
Comment 3•14 years ago
|
||
Don't think so, looks like the URL is still being rewritten.
| Assignee | ||
Comment 4•14 years ago
|
||
Should be fixed now.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 5•14 years ago
|
||
Looks good, thanks.
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•