-
-
Notifications
You must be signed in to change notification settings - Fork 980
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
Misuse of mount results in infinite loop when calling unregistered method #663
Comments
this happens to me too. there's any advice to avoid this? |
remove |
technically, we could check for pointer equality in the thoughts? |
I don’t think we should do anything.. you can write an infinite loop in Go easily too |
I added a prefix like |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When misusing
Mount
like so:Calling unregistered methods on the /products path (POST /products, PUT /products, etc) results in Chi entering an infinite loop. This could be used maliciously by an attacker. The expectation is that either this should still work as intended, or an error should be thrown.
The text was updated successfully, but these errors were encountered: