[wp-trac] [WordPress Trac] #34202: esc_url() cannot handle IPv6 literal URLs in PHP < 5.4.7
WordPress Trac
noreply at wordpress.org
Fri Oct 23 05:56:28 UTC 2015
#34202: esc_url() cannot handle IPv6 literal URLs in PHP < 5.4.7
----------------------------------------+------------------------------
Reporter: johnbillion | Owner: dd32
Type: defect (bug) | Status: closed
Priority: low | Milestone: Awaiting Review
Component: Formatting | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: needs-patch has-unit-tests | Focuses:
----------------------------------------+------------------------------
Changes (by dd32):
* owner: => dd32
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"35370"]:
{{{
#!CommitTicketReference repository="" revision="35370"
Use `wp_parse_url()` in `esc_url()` to avoid parsing bugs in < PHP 5.4.7.
Props johnbillion for unit tests
See #34408
Fixes #34202
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34202#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list