Compare commits

...

2 Commits

Author SHA1 Message Date
Alexis Mousset
0c125a81c3 Prepare 0.7.1 release 2020-11-11 17:51:47 +01:00
Alexis Mousset
e051fecd4c fix(transport-sendmail): Stop argument parsing before destination addresses 2020-11-11 17:50:09 +01:00
3 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
### v0.7.1 (2020-11-11)
#### Bug fixes
* **transport**
* **SECURITY**: Prevent argument injection in sendmail transport
### v0.7.0 (2017-10-08) ### v0.7.0 (2017-10-08)
#### Features #### Features

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "lettre" name = "lettre"
version = "0.7.0" version = "0.7.1"
description = "Email client" description = "Email client"
readme = "README.md" readme = "README.md"
documentation = "https://docs.rs/lettre/" documentation = "https://docs.rs/lettre/"

View File

@@ -52,6 +52,7 @@ impl<'a, T: Read + 'a> EmailTransport<'a, T, SendmailResult> for SendmailTranspo
"-i", "-i",
"-f", "-f",
&email.from().to_string(), &email.from().to_string(),
"--",
&to_addresses.join(" "), &to_addresses.join(" "),
], ],
) )