[wp-trac] [WordPress Trac] #28015: esc_url_raw (esc_url) throw "Uninitialized string offset: 0" with invalid chars
WordPress Trac
noreply at wordpress.org
Sat Sep 5 21:27:38 UTC 2015
#28015: esc_url_raw (esc_url) throw "Uninitialized string offset: 0" with invalid
chars
------------------------------+--------------------------
Reporter: mmems | Owner: johnbillion
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.4
Component: Formatting | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+--------------------------
Changes (by johnbillion):
* keywords: needs-unit-tests needs-patch => has-patch commit
Comment:
In [attachment:28015.5.diff]: If a URL is so malformed that it contains
only characters which get stripped out, then the function should bail out
early, as it does for an empty URL.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28015#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list