Closed Bug 696943 Opened 14 years ago Closed 14 years ago

Investigate why .json apps fail validation with an incorrect error message

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

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.
(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: 14 years ago
Resolution: --- → INVALID
(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 → ---
my bad
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → INVALID
(In reply to krupa raj 82[:krupa] from comment #3) > my bad Indeed.
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.