Add patch from PHP-CSS-Parser to prevent malformed CSS properties leaking AMP validation error past the sanitizer#4290
Merged
westonruter merged 5 commits intodevelopfrom Feb 16, 2020
Conversation
schlessera
approved these changes
Feb 14, 2020
Collaborator
|
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. |
Contributor
Author
|
#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. |
westonruter
approved these changes
Feb 16, 2020
Member
|
This PR is failing the build process, namely: @schlessera thoughts? |
Contributor
Author
|
@westonruter the referenced patch wasn't found in the |
Member
Good catch. 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.patchis created as a snapshot of the current state of the PR.Fixes #4113.
Checklist