Closed
Bug 371209
Opened 18 years ago
Closed 17 years ago
Additem quotes problems
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
3.1
People
(Reporter: fligtar, Assigned: wenzel)
Details
Attachments
(2 files)
2.19 KB,
patch
|
morgamic
:
review+
|
Details | Diff | Splinter Review |
618 bytes,
application/octet-stream
|
Details |
Add-ons with quotes in their names and other install.rdf properties have some issues with the submission process.
Comment 1•18 years ago
|
||
I'm not sure if this is the same bug, but just about all the fields will have slashes in them before quotes if you have an error or try to edit your extension's data.
Comment 2•18 years ago
|
||
This may also be related.. the "Edit Preview" page (for images and their captions) does not allow single quotes in the caption field. Trying to use them will result in no caption being posted.
Comment 3•18 years ago
|
||
I think this is fixed now.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•18 years ago
|
||
Don't know why you'd think that!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•17 years ago
|
Assignee: fligtar → fwenzel
Status: REOPENED → NEW
Assignee | ||
Comment 5•17 years ago
|
||
Actually, the "edit preview" quotes issue was indeed fixed a long time ago -- the install.rdf issue is still open though, but I am looking into it.
Comment 6•17 years ago
|
||
Fred, any progress on the install.rdf issue?
Assignee | ||
Comment 7•17 years ago
|
||
As a matter of fact yes, there is. I managed to find a solution that does not require us to stop cleaning user data globally (which would have bad security implpications).
Instead I am removing the quotes just for the view, using a slightly extended unclean() function.
I will also attach a teeny example xpi which will have quotes problems with the current AMO but not with this patch.
Morgamic, please approve :)
Attachment #279782 -
Flags: review?(morgamic)
Assignee | ||
Comment 8•17 years ago
|
||
This is a simple test xpi containing just an install.rdf with some quotes in it.
Comment 9•17 years ago
|
||
Comment on attachment 279782 [details] [diff] [review]
patch to remove quotes before publish()ing data
Looks good, since all it does is unslash.
Attachment #279782 -
Flags: review?(morgamic) → review+
Assignee | ||
Comment 10•17 years ago
|
||
Alright, this is committed to the trunk, r6594. Marking this FIXED.
It will go online with the next push.
Status: NEW → RESOLVED
Closed: 18 years ago → 17 years ago
Resolution: --- → FIXED
Updated•9 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
•