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

SECURITY: use rstrip instead of regex gsub to prevent ReDOS #19737

Merged
merged 1 commit into from Jan 4, 2023

Conversation

tgxworld
Copy link
Contributor

@tgxworld tgxworld commented Jan 4, 2023

rstrip implementation is much more performant than regex

`rstrip` implementation is much more performant than regex
@tgxworld tgxworld merged commit 918dd4d into main Jan 4, 2023
13 checks passed
@tgxworld tgxworld deleted the advisory-fix-1 branch January 4, 2023 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants