[wp-trac] [WordPress Trac] #34202: esc_url() cannot handle IPv6 literal URLs in PHP < 5.4.7
WordPress Trac
noreply at wordpress.org
Mon Oct 19 22:22:13 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 dd32):
Replying to [comment:3 swissspidy]:
> `esc_url` also breaks when an IPv6 address is used in a query arg, e.g.
`http://example.org/?s=2001:0db8:0000:0000:0000:ff00:0042:8329`. It just
returns an empty string in that case.
I can't duplicate that under Trunk, does this also require the specific
version of PHP?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34202#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list