[wp-trac] [WordPress Trac] #44085: url_encode($string) does not encode dashes properly

WordPress Trac noreply at wordpress.org
Tue May 15 00:34:41 UTC 2018


#44085: url_encode($string) does not encode dashes properly
-------------------------+-------------------------------------------------
 Reporter:  sjcglads     |      Owner:  (none)
     Type:  defect       |     Status:  new
  (bug)                  |
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  4.9.5
 Severity:  normal       |   Keywords:  needs-screenshots needs-patch
  Focuses:  coding-      |  needs-testing
  standards              |
-------------------------+-------------------------------------------------
 Blog post titles with dashes in them are not being encoded properly into
 email subject lines when using url_encode($string).

 For an example, navigate to [https://cashflowcookbook.com/commute-costs-
 save/ my client's recent blog post], scroll down until the sharing buttons
 are visible on the left, and select the Email share option.

 Notice that the dash is not properly encoded in the Subject Line of the
 email.

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


More information about the wp-trac mailing list