Closed Bug 841435 Opened 12 years ago Closed 12 years ago

Check why validation fails over Icon file

Categories

(Marketplace Graveyard :: Validation, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2013-02-14

People

(Reporter: krupa.mozbugs, Assigned: basta)

References

()

Details

steps to reproduce: 1. Load https://marketplace-dev.allizom.org/developers/submit/app/manifest 2. Validate http://m.facebook.com/openwebapp/manifest.webapp observed behavior: Validation fails with "Could not read icon file." See https://marketplace-dev.allizom.org/developers/upload/d0c300aeb14b49518956af09fc938711 The icon link looks valid to me
The reason this is happening is the icon is GZIP-compressed and we're reading from the raw requests socket (for a whole laundry list of reasons). Since the encoding never gets removed, we end up passing a GZ file to PIL instead of just the image data.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.