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

WordPress Trac noreply at wordpress.org
Sat Dec 10 06:45:02 UTC 2016


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

Comment (by westonruter):

 In [changeset:"39559"]:
 {{{
 #!CommitTicketReference repository="" revision="39559"
 Customize: Prevent single quotes (apostrophes) in `custom_css` values from
 unexpectedly causing false positives for unbalanced character validation
 errors.

 See #39218, #35395.
 Fixes #39198.
 }}}

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


More information about the wp-trac mailing list