403 Forbidden when trying to load theme images

VERIFIED FIXED in 2014-10

Status

addons.mozilla.org Graveyard
Public Pages
P3
normal
VERIFIED FIXED
4 years ago
2 years ago

People

(Reporter: jorgev, Assigned: jason)

Tracking

unspecified
2014-10

Details

(URL)

(Reporter)

Description

4 years ago
Steps to reproduce:
1) Go to https://addons.mozilla.org/addon/versailles-hizaki/
2) Hover over the image to load the preview mode, and notice that the header image doesn't load.

Both the header and footer images are showing a 403 Forbidden page:
https://addons.cdn.mozilla.net/user-media/addons/260311/hime.JPG?1291371647
https://addons.cdn.mozilla.net/user-media/addons/260311/hime2.JPG?1291371647
Jason - is this a change on the ops side?  Can you verify the images are there with the right perms?
Flags: needinfo?(jthomas)
(Assignee)

Comment 2

4 years ago
The images are on the filesystem and the permissions are correct however we are not allowing '*.JPG' (all capitals) in the nginx configuration. Fixed in nginx configuration https://github.com/mozilla-services/svcops-puppet/commit/2cbd88fec9c997b6244dd851f04bfcf265b1231d

I am checking to see what other extensions might be affected here. We might want to either use case insensitive matching in the nginx configuration or allow any other additional capitalized extensions we find.
Flags: needinfo?(jthomas)
Thanks.  Case-insensitive wfm (although I'd rather save the files properly too :).
Assignee: nobody → jthomas
(Assignee)

Comment 4

4 years ago
PNG and JPG are the main culprits. Enabled case insensitive matching in the nginx configuration https://github.com/mozilla-services/svcops-puppet/commit/d89868e6d9bb09bf5f54ecf16001e859965ff1b8
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED

Comment 5

4 years ago
Verified as fixed
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.