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

WordPress Trac noreply at wordpress.org
Mon Dec 12 01:44:28 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 dd32):

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

 Props westonruter.
 See #39218, #35395.
 Merges [39559] to the 4.7 branch.
 Fixes #39198.
 }}}

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


More information about the wp-trac mailing list