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

fix(cleanupIds): handle no-uri-encoded references #1982

Merged
merged 3 commits into from
Apr 25, 2024

Conversation

liuweifeng
Copy link
Contributor

fixed #1981 .

Copy link
Member

@SethFalco SethFalco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left a comment as I believe there is a vulnerability in this version.

Overall, the issue and solution makes sense though. Thanks for submitting a patch!

plugins/cleanupIds.js Outdated Show resolved Hide resolved
test/plugins/cleanupIds.26.svg.txt Outdated Show resolved Hide resolved
@SethFalco SethFalco merged commit 89b0c6c into svg:main Apr 25, 2024
8 checks passed
@SethFalco
Copy link
Member

Thanks for spotting the issue and submitting a patch! This will be released by the end of the month.

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.

[cleanupIDs] symbol is incorrectly removed when its ID is *NOT* used by URL-encoded reference
2 participants