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 ReDoS (GHSL-2021-110) #243

Closed

Conversation

kevinbackhouse
Copy link

Remove two + characters from the regex. They don't make any difference to the string that the regex can match, but they're causing a ReDoS. I've also added a regression test for the ReDoS.

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