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 negotiate regex patter #164

Merged
merged 1 commit into from
Oct 30, 2021
Merged

Fix negotiate regex patter #164

merged 1 commit into from
Oct 30, 2021

Conversation

jborean93
Copy link
Contributor

Updates the regex pattern to avoid a DoS attack against the client trying to perpetually scan the header. This is the same change that requests-gssapi has implemented without any side affects so far pythongssapi/requests-gssapi#22.

Fixes #145
Fixes #152

@jborean93 jborean93 merged commit dd2dcf5 into requests:master Oct 30, 2021
@jborean93 jborean93 deleted the regex branch October 30, 2021 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant