[wp-trac] [WordPress Trac] #36369: esc_url(): strip leading whitespace characters

WordPress Trac noreply at wordpress.org
Tue Mar 29 21:25:08 UTC 2016


#36369: esc_url(): strip leading whitespace characters
----------------------------------------+------------------------------
 Reporter:  toszcze                     |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Formatting                  |     Version:  4.4.2
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by toszcze):

 Trailing spaces are correctly replaced by %20. I don't know if there is
 any case when trailing spaces in an URL would be necessary, but personally
 I would leave them, because they are not causing any issues.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36369#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list