Closed
Bug 731097
Opened 13 years ago
Closed 13 years ago
Move collection icon logic out of apache and into python
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
VERIFIED
FIXED
6.4.5
People
(Reporter: clouserw, Assigned: clouserw)
References
Details
Read bug 731089 for background and some info on doing this exact thing for add-on icons and for the already-done user images. I think the rewrite rules here are:
> RewriteRule ^([^/]+/[^/]+/|)images/collection_icon/((\d*?)\d{1,3}).png /img/uploads/collection_icons/$3/$2.png [L]
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} /img/uploads/collection_icons/+\d*.png$
> RewriteRule (\d+)\.png$ /img/uploads/collection_icons/0/$1.png [L]
Assignee | ||
Comment 1•13 years ago
|
||
This will be turning this:
https://addons-dev-cdn.allizom.org/en-US/firefox/images/collection_icon/2174527.png
into this:
https://addons-dev-cdn.allizom.org/img/uploads/collection_icons/2174/2174527.png
Assignee: nobody → clouserw
Target Milestone: --- → 6.4.5
Assignee | ||
Comment 2•13 years ago
|
||
https://github.com/clouserw/zamboni/commit/98c27e043cb8fdb4597f5b35dbcc06bdfc8af3ec
QA: shouldn't notice much difference, just the URLs in comment 1
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 3•13 years ago
|
||
looks good. Verified uploading collections icons at https://addons-dev.allizom.org/en-US/firefox/collections/krupakrupa/collection989/
Status: RESOLVED → VERIFIED
Updated•9 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
•