crabmail

Static HTML email archive viewer in Rust
git clone git://git.alexwennerberg.com/crabmail
Log | Files | Refs | README | LICENSE

commit 1858c686995ad3618ccdb89e5c4484c75c3a5e5d
parent 56a15cbe870c97c43aeb7ca7f3cde144fbfe8788
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun,  2 Jan 2022 12:42:27 -0800

in reply to ID fix

Diffstat:
Msrc/main.rs | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs @@ -356,8 +356,9 @@ impl Email { url.push_str(&format!("{}={}&", k, urlencoding::encode(v))); }; // TODO verify encoding looks good and use percent_encoding instead + let fixed_id = format!("<{}>", &self.id); pushencode("cc", &from); - pushencode("in-reply-to", &self.id); + pushencode("in-reply-to", &fixed_id); pushencode("subject", &format!("Re: {}", thread_subject)); // quoted body url.push_str("body=");