[wp-trac] [WordPress Trac] #21974: esc_url() doesn't allow protocol-relative URLs with colons
WordPress Trac
noreply at wordpress.org
Tue Jun 4 14:38:08 UTC 2013
#21974: esc_url() doesn't allow protocol-relative URLs with colons
----------------------------+------------------
Reporter: SergeyBiryukov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------
Comment (by CoenJacobs):
Replying to [comment:3 nacin]:
> Technically, a colon is a "reserved" character which means outside of
its official use, it must be encoded. This reminds me of #16859.
It does the same with URLs containing the colon as a split between URL and
port.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21974#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list