Closed Bug 494365 Opened 15 years ago Closed 15 years ago

Collection name over-escaped in case of form error on collection creation page

Categories

(addons.mozilla.org Graveyard :: Collections, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: wenzel, Assigned: wenzel)

References

()

Details

Attachments

(1 file)

* Try to create a new collection.
* Enter something like "John Doe's Favorite Add-ons" as a name
* Keep the description empty to cause a form error
* submit

-> The name field will contain "John Doe\'s..."
Attached patch Patch, rev. 1Splinter Review
Attachment #379102 - Flags: review?(clouserw)
Status: NEW → ASSIGNED
Attachment #379102 - Flags: review?(clouserw) → review+
This is also occurring on the user account registration page.

https://preview.addons.mozilla.org/en-US/firefox/users/register

First name: Mary'Lyn

Expected Results: Mary'Lyn
Actual Results: Mary\'Lyn
On each post back it appends more backslashes (i.e, I miss a field and click Submit)
r26153, thanks.

Aaron: This is a different bug, do you mind filing it separately?
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: push-needed
Resolution: --- → FIXED
Wenzel:  Bug 494597 (In reply to comment #4)
> r26153, thanks.
> 
> Aaron: This is a different bug, do you mind filing it separately?

https://bugzilla.mozilla.org/show_bug.cgi?id=494597
removing "push-needed" from 105 AMO 5.0.6 bugs; filter on "I hate stephend!"
Keywords: push-needed
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: