[wp-trac] [WordPress Trac] #34202: esc_url() cannot handle IPv6 literal URLs in PHP < 5.4.7

WordPress Trac noreply at wordpress.org
Wed Oct 21 21:34:34 UTC 2015


#34202: esc_url() cannot handle IPv6 literal URLs in PHP < 5.4.7
----------------------------------------+------------------------------
 Reporter:  johnbillion                 |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  low                         |   Milestone:  Awaiting Review
Component:  Formatting                  |     Version:  3.1
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch has-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by johnbillion):

 I suspect the above issue is caused by the relative URL handling in
 `esc_url()` which looks for the presence of a colon to determine whether
 it's a relative URL or not. That can go in its own ticket.

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


More information about the wp-trac mailing list