[wp-trac] [WordPress Trac] #45067: Add CSS URL sanitization to kses.

WordPress Trac noreply at wordpress.org
Tue Oct 16 17:42:49 UTC 2018


#45067: Add CSS URL sanitization to kses.
--------------------------------------+---------------------
 Reporter:  peterwilsoncc             |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  5.0
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by azaozz):

 In 45067.6.diff:
 - Fixed the shortcodes test, replaced the selector with an invalid one.
 - Added couple of tests for malformed values.
 - Added another conditional to look for malformed values and prevent
 notices.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45067#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list