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

z_html_sanitize: sanitize data url with svg, export more relaxed uri sanitize #103

Merged
merged 8 commits into from
Dec 16, 2024

Conversation

mworrell
Copy link
Member

The strict URI sanitizer does not allow any data urls.
With the relaxed version data urls are allowed for media and SVG, and the SVGs are sanitized using the SVG sanitizer.

Also catch "empty" dates in the date formatter, map them to undefined.

@mworrell mworrell merged commit f88ca99 into master Dec 16, 2024
3 checks passed
@mworrell mworrell deleted the sanitize-svg branch December 16, 2024 11:04
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.

1 participant