[wp-trac] [WordPress Trac] #39198: Harden validation of CSS syntax validity by utilizing tokenizer
WordPress Trac
noreply at wordpress.org
Fri Dec 9 20:52:43 UTC 2016
#39198: Harden validation of CSS syntax validity by utilizing tokenizer
--------------------------+--------------------
Reporter: dan.sed | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7.1
Component: Customize | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+--------------------
Comment (by celloexpressions):
Per discussion in Slack, it seems like the best approach is to remove the
single-quote validation in 4.7.1. That would some this particular issue
and allow the usability benefits of unbalanced braces and unbalanced
comments to remain. Then, for 4.8 we'll work on a broader hardening of the
validation logic per the todo in the code.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39198#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list