Closed
Bug 696943
Opened 13 years ago
Closed 13 years ago
Investigate why .json apps fail validation with an incorrect error message
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
addons.mozilla.org Graveyard
Developer Pages
Tracking
(Not tracked)
RESOLVED
INVALID
6.2.9
People
(Reporter: krupa.mozbugs, Assigned: kumar)
References
()
Details
steps to reproduce: 1. Load https://addons-dev.allizom.org/z/en-US/developers/app/submit/2 2. Try to validate https://people.mozilla.com/~kraj/test-files/webapps/sample.json expected behavior: Validation is successful actual behavior: Validation fails with: 'Your manifest must be served with the HTTP header "Content-Type: application/x-web-app-manifest+json". We saw "text/plain; charset=UTF-8"' error message. See https://addons-dev.allizom.org/z/en-US/developers/upload/6ed5a4fce43b4ecb8620305508f06b54 However, validation of .webapp from the same application origin is successful.
Comment 1•13 years ago
|
||
(In reply to krupa raj 82[:krupa] from comment #0) > Validation fails with: 'Your manifest must be served with the HTTP header > "Content-Type: application/x-web-app-manifest+json". We saw "text/plain; > charset=UTF-8"' That's why. Add this to your .htaccess if you want it to work, but that seems kind of janky. AddType application/x-web-app-manifest+json .json
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 2•13 years ago
|
||
(In reply to Jeff Balogh (:jbalogh) from comment #1) > > Add this to your .htaccess if you want it to work, but that seems kind of > janky. > AddType application/x-web-app-manifest+json .json That is what I have in my .htaccess right now. It doesn't help one bit.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Reporter | ||
Comment 3•13 years ago
|
||
my bad
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → INVALID
Comment 4•13 years ago
|
||
(In reply to krupa raj 82[:krupa] from comment #3) > my bad Indeed.
Updated•8 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
•