Last Comment Bug 708372 - Unicode error thrown when trying to upload an external code file
: Unicode error thrown when trying to upload an external code file
Status: RESOLVED FIXED
:
Product: addons.mozilla.org Graveyard
Classification: Graveyard
Component: Add-on Builder (show other bugs)
: unspecified
: All All
: P2 major
: Builder 1.0
Assigned To: Piotr Zalewa [:zalun]
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-07 12:33 PST by Daniel Buchner [:dbuc]
Modified: 2014-09-24 06:39 PDT (History)
1 user (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description Daniel Buchner [:dbuc] 2011-12-07 12:33:35 PST
I tried to upload the file at "http://people.mozilla.com/~dbuchner/js/more-1.4.0.1.js" and received the following error message:

FORBIDDEN

Attachment failed to save properly
Unknown Unicode in file
Comment 1 Piotr Zalewa [:zalun] 2011-12-13 00:59:52 PST
There was a similar bug 699192, where the uploaded code was served with a content-type=utf-8, we can't treat every attachment as unicode because of bug 637929
Comment 2 Piotr Zalewa [:zalun] 2011-12-13 03:50:25 PST
All editable attachments from external URLs are now forced to be unicode (we require it on save anyway)

https://github.com/mozilla/FlightDeck/pull/83

Note You need to log in before you can comment on or make changes to this bug.