diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-04-02 08:19:54 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-04-02 08:22:12 +0300 |
commit | 6ccb9d3d75b15c98b9e31f077e050401e01eb214 (patch) | |
tree | a4a2ba1dd83be3e63a38baada598a9b4cbe78095 /src/components/mail/listing.rs | |
parent | e034f4dd5280bf61ab0062af308784dd0bdb4036 (diff) |
melib/src/email/address.rs: Fix invalid UTF8 panic
In StrBuilder::display there's an assumption that the string is valid utf-8 but if an email contains an invalid string inside the MIME encoded word part the conversion panics. Change it to a lossy UTF-8 conversion instead. Fixes #19
Reported-By: cycomanic
Diffstat (limited to 'src/components/mail/listing.rs')
0 files changed, 0 insertions, 0 deletions