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
Denial-of-Service at net/url.(*URL).Query by "//%2f" #41153
Comments
I don’t think we can accept this bug report as your sample does not check the error returned from URL.Parse |
Aight, but from the conditions that I describe, if I check for an error return: And still valid for:
|
Would you be able to rewrite your issue report to include correct error handling. Thank you |
On it. |
url.Parse is working correctly here: https://play.golang.org/p/0rVDegfUUIk. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Initially, I tried to parse query from URLs under several conditions:
/%2f?id=1
//?id=1
//%2f?id=1
///?id=1
///%2f?id=1
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: