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

WordPress Trac noreply at wordpress.org
Tue Mar 29 14:13:17 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       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 I to strip leading whitespace characters form the URL passed to esc_url()
 function.

 At the moment if we pass an URL with leading spaces (or other whitespace
 characters) to esc_url(), it returns an empty string, even if the URL is
 correct.

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


More information about the wp-trac mailing list