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

VERIFIED FIXED in 5.0.6

Status

VERIFIED FIXED
10 years ago
3 years ago

People

(Reporter: wenzel, Assigned: wenzel)

Tracking

unspecified
5.0.6

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

10 years ago
* 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..."
(Assignee)

Comment 1

10 years ago
Created attachment 379102 [details] [diff] [review]
Patch, rev. 1
Attachment #379102 - Flags: review?(clouserw)
(Assignee)

Updated

10 years ago
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)
(Assignee)

Comment 4

10 years ago
r26153, thanks.

Aaron: This is a different bug, do you mind filing it separately?
Status: ASSIGNED → RESOLVED
Last Resolved: 10 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
The case in comment 0 is verified FIXED on https://preview.addons.mozilla.org/en-US/firefox/collections/add.
Status: RESOLVED → VERIFIED
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.