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

add MethodNotAllowed to exception handling #1244

Merged
merged 2 commits into from
Aug 8, 2024
Merged

Conversation

terrazoon
Copy link
Contributor

@terrazoon terrazoon commented Aug 7, 2024

Description

This exception appears to be raised by malicious actors that are just trying to POST to every URL in the app. Most URLs don't allow POST, so we see this exception. Add it to the list of exceptions that we just log and don't print the stack trace.

Security Considerations

N/A

@terrazoon terrazoon self-assigned this Aug 7, 2024
Copy link
Contributor

@ccostino ccostino left a comment

Choose a reason for hiding this comment

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

Thanks, @terrazoon!

Copy link
Contributor

@xlorepdarkhelm xlorepdarkhelm left a comment

Choose a reason for hiding this comment

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

LGTM

@terrazoon terrazoon merged commit fc87696 into main Aug 8, 2024
7 checks passed
@terrazoon terrazoon deleted the notify-admin-1392 branch August 8, 2024 17:30
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.

3 participants