[wp-trac] [WordPress Trac] #30597: wp_filter_post_kses mangles URLs with colons in them
WordPress Trac
noreply at wordpress.org
Thu Dec 4 18:34:41 UTC 2014
#30597: wp_filter_post_kses mangles URLs with colons in them
--------------------------+-----------------------------
Reporter: rkaiser0324 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 4.0
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Try to save this entirely valid post content:
{{{
<a href="/this/is/a/valid:link">watch what happens</a>
}}}
The KSES logic is overly aggressive and strips the URL. It's getting
confused by the colon.
Might be related to [https://core.trac.wordpress.org/ticket/24663]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30597>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list