mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 15:46: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 {
|
for {
|
||||||
var child *message.Entity
|
var child *message.Entity
|
||||||
|
|
||||||
if child, err = r.NextPart(); err != nil {
|
if child, err = r.NextPart(); err != nil && !message.IsUnknownCharset(err) {
|
||||||
return ignoreEOF(err)
|
return ignoreEOF(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user