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
Describe the bug Envelope deserialization doesn't catch empty forward_path.
To Reproduce
serde_json::from_str::<Envelope>(r#"{"forward_path": []}"#).unwrap() // should panic, but don't
Expected behavior Deserializing envelope with empty forward_path should panic.
Environment (please complete the following information):
Additional context I think I will open a PR to fix it soon (maybe tonight)
The text was updated successfully, but these errors were encountered:
@paolobarbolini would you consider adding a custom type like in https://serde.rs/custom-date-format.html to check for the vec length as a valid fix?
Sorry, something went wrong.
resolve lettre#806: forbid empty forward path when deserializing addr…
fb5b16c
…ess::Envelope
3aea653
No branches or pull requests
Describe the bug
Envelope deserialization doesn't catch empty forward_path.
To Reproduce
Expected behavior
Deserializing envelope with empty forward_path should panic.
Environment (please complete the following information):
Additional context
I think I will open a PR to fix it soon (maybe tonight)
The text was updated successfully, but these errors were encountered: