mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-16 23:26:44 +00:00
fix: allow unknown encodings during initial parse
This commit is contained in:
@ -135,7 +135,7 @@ func (p *Parser) parseMultipart(r message.MultipartReader) (err error) {
|
||||
for {
|
||||
var child *message.Entity
|
||||
|
||||
if child, err = r.NextPart(); err != nil {
|
||||
if child, err = r.NextPart(); err != nil && !message.IsUnknownCharset(err) {
|
||||
return ignoreEOF(err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user