[wp-trac] [WordPress Trac] #54416: Some WordPress generated emails escape special chars in the email address while other emails do not.

WordPress Trac noreply at wordpress.org
Wed Nov 10 22:28:51 UTC 2021


#54416: Some WordPress generated emails escape special chars in the email address
while other emails do not.
--------------------------+-----------------------------
 Reporter:  ltuspe        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Mail          |    Version:  5.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When a user's email address contains an apostrophe, WordPress will escape
 the apostrophe in the email address for some WordPress generated emails,
 while it will not for other WordPress generated emails.

 For example o'connor at domain.com will be escaped to o\'connor at domain.com
 for the 'Email Changed' and 'Password Changed' emails that are sent to the
 user.

 For other emails, such as the 'User Lost Password' email, the email
 address is not escaped and is sent properly.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54416>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list