[wp-trac] [WordPress Trac] #39218: Customize: Harden validation of CSS syntax validity by utilizing tokenizer

WordPress Trac noreply at wordpress.org
Tue May 16 20:08:20 UTC 2017


#39218: Customize: Harden validation of CSS syntax validity by utilizing tokenizer
--------------------------+--------------------
 Reporter:  westonruter   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.8.1
Component:  Customize     |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------

Comment (by Presskopp):

 I just noticed that this will be parsed ok:

 {{{
 [all}is)fine]here{or(not?
 }}}

 We could check if latest parenthesis of a kind is an opening one (or first
 one is a closing one)

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


More information about the wp-trac mailing list