#456 closed defect (bug) (fixed)
Escape slashes not being stripped before displaying notification names/patterns
Reported by: | stevegrunwell | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Profiles | Keywords: | |
Cc: |
Description
When creating notifications wrapped in quotes (for instance, "WP Password Generator"), I noticed that the resulting output of that notification displays the backslashes that are presumably there for escaping the quotes.
Steps to reproduce:
- While logged into WordPress.org, go to http://profiles.wordpress.org/(your username)/profile/notifications/
- Under the "Add New Notification" heading, create a notification with the following:
- Notification Search String: "This string is wrapped in quotes"
- Notification Name: A "test"
Upon saving, the notification list shows a notification like this (quotation marks escaped with a backslash):
When I go to edit the notification, the editable text fields also include the escaping backslash:
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Escaping backslashes in the notification name and pattern