We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Doing some fuzzing I encountered this:
let uri = "http://[]@["; let uri = uri.parse::<http::Uri>().unwrap(); // is ok uri.host(); // panics
The panic is parsing should validate brackets and come from here: https://github.com/hyperium/http/blob/v0.2.1/src/uri/authority.rs#L486
parsing should validate brackets
I expect this to surface as an Err and panic on .unwrap().
Err
.unwrap()
The text was updated successfully, but these errors were encountered:
Yep, this looks wrong. Thanks for reporting!
Sorry, something went wrong.
Return error if multiple brackets exist in the authority (#445)
43c6e84
Closes #435
Return error if multiple brackets exist in the authority (hyperium#445)
2a30648
Closes hyperium#435
Successfully merging a pull request may close this issue.
Doing some fuzzing I encountered this:
The panic is
parsing should validate brackets
and come from here: https://github.com/hyperium/http/blob/v0.2.1/src/uri/authority.rs#L486I expect this to surface as an
Err
and panic on.unwrap()
.The text was updated successfully, but these errors were encountered: