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

commonmark_js fuzz: fix spurious failure with mixed link #859

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

notriddle
Copy link
Collaborator

@notriddle notriddle commented Mar 2, 2024

This is a follow-up of #856, because that pull request didn't cover the case where the URL mixed punctuation and non-utf8 bytes, that look like [x]([%DD) (which commonmark.js encodes as %5B%DD, but pulldown-cmark does not escape).

This commit normalizes everything completely, redoing links so that everything is urlencoded except letters numbers and a few pieces of safe punctuation.

This is a follow-up of pulldown-cmark#856,
because that pull request didn't cover the case where the URL mixed
punctuation and non-utf8 bytes.
@Martin1887 Martin1887 merged commit 1912ff3 into pulldown-cmark:master Mar 3, 2024
1 check passed
@notriddle notriddle deleted the notriddle/spurrious2 branch March 3, 2024 14:00
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

2 participants