mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +03:00
be more graceful when the apostrophed-encoding is used erroneous - either by other MUA or by Delta Chat up to core1.50
This commit is contained in:
@@ -1328,8 +1328,11 @@ fn get_attachment_filename(
|
||||
}
|
||||
}
|
||||
} else {
|
||||
warn!(context, "apostroped encoding invalid");
|
||||
None
|
||||
warn!(context, "apostroped encoding invalid: {}", name);
|
||||
// be graceful and just use the original name.
|
||||
// some MUA, including Delta Chat up to core1.50,
|
||||
// use `filename*` mistakenly for simple encoded-words without following rfc2231
|
||||
Some(name)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user