Closed Bug 371209 Opened 18 years ago Closed 17 years ago

Additem quotes problems

Categories

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

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fligtar, Assigned: wenzel)

Details

Attachments

(2 files)

Add-ons with quotes in their names and other install.rdf properties have some issues with the submission process.
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.
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.
I think this is fixed now.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Don't know why you'd think that!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee: fligtar → fwenzel
Status: REOPENED → NEW
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.
Fred, any progress on the install.rdf issue?
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)
This is a simple test xpi containing just an install.rdf with some quotes in it.
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+
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 ago17 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.

Attachment

General

Created:
Updated:
Size: