WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3 closed defect (bug) (fixed)

Certain characters in commenter name/email/URI fields are incorrectly saved.

Reported by: anonymousbugger Owned by: ryan
Milestone: Priority: normal
Severity: minor Version:
Component: General Keywords:
Focuses: Cc:

Description

When commenting for the second or later time on a WP blog, the restored user information comes back incorrectly. My last name, O'Leary, is changed into O
\'Leary. It appears that the apostrophe is being escaped, then both the backslash and apostrophe are escaped, before being stored in the cookie. A backslash leads to the same effect. Each comment posted leads to another round of escapes.

Change History (5)

Note: See TracTickets for help on using tickets.