Skip to content
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

port: 1.4.4 changes #147

Merged
merged 7 commits into from
Dec 13, 2022
Merged

port: 1.4.4 changes #147

merged 7 commits into from
Dec 13, 2022

Conversation

flavorjones
Copy link
Member

Security release v1.4.4 was done in a private repo on the v1.4.x branch. This PR brings those changes to master.

which correctly sanitizes data URL mediatypes
to prepare for a better fix
Also, notably, document the decisions behind this approach in a
decision record.
v2.19.1 has the new methods we're using:

- Loofah::HTML5::Scrub.cdata_needs_escaping?
- Loofah::HTML5::Scrub.cdata_escape
- Loofah::HTML5::Scrub.scrub_uri_attribute
- Loofah::HTML5::Scrub.scrub_attribute_that_allows_local_ref

avoiding code duplication in this gem.
@flavorjones flavorjones merged commit 79bc10b into master Dec 13, 2022
@flavorjones flavorjones deleted the flavorjones-port-1.4.4-changes branch December 13, 2022 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant