-
Notifications
You must be signed in to change notification settings - Fork 382
Add patch from PHP-CSS-Parser to prevent malformed CSS properties leaking AMP validation error past the sanitizer #4290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The code looks good to me. The only change that made me worthwhile would be to merge all patches into one. However, that might make it more difficult to adapt it as the PR changes, so it's probably not a real win. |
#4197 also requires a bump of the cache group version, so once this gets merged I'll rebase accordingly and open a PR for it. |
This PR is failing the build process, namely:
@schlessera thoughts? |
@westonruter the referenced patch wasn't found in the |
Good catch. 👍 |
Summary
I've taken the current changes from MyIntervals/PHP-CSS-Parser#185 and added them as a patch file that will be applied via Composer. The external PR spans multiple commits and it is not guaranteed that the PR will stay the same, so the file
patches/php-css-parser-pull-185.patch
is created as a snapshot of the current state of the PR.Fixes #4113.
Checklist