Unicode error thrown when trying to upload an external code file

RESOLVED FIXED in Builder 1.0

Status

addons.mozilla.org Graveyard
Add-on Builder
P2
major
RESOLVED FIXED
5 years ago
3 years ago

People

(Reporter: dbuc, Assigned: zalun)

Tracking

unspecified
Builder 1.0

Details

(Reporter)

Description

5 years ago
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
(Reporter)

Updated

5 years ago
Summary: Unicode error thrown when trying to upload and external code file → Unicode error thrown when trying to upload an external code file
(Reporter)

Updated

5 years ago
Assignee: nobody → smcarthur
Priority: -- → P2
Target Milestone: --- → Builder 1.0
(Assignee)

Comment 1

5 years ago
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
Assignee: smcarthur → zaloon
(Assignee)

Comment 2

5 years ago
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
Status: NEW → ASSIGNED
(Assignee)

Updated

5 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.