Skip to content

mailbox-mbox: Ignore Content-Length headers

Peter Bloomfield requested to merge respect-content-length into master

@pawels @albrecht :

In libbalsa/mailbox_mbox.c (parse_mailbox), delete "g_mime_parser_set_respect_content_length(gmime_parser, TRUE);"

The documentation for g_mime_parser_set_respect_content_length() states:

The jwz link explains why it should be disabled. An incorrect value can lead to misparsing the mbox, and hence possibly loss of messages. Its only known use is to avoid the need to quote (or otherwise mangle) "^From " lines, and with luck no e-mail client still uses it for that purpose.

Edited by Peter Bloomfield

Merge request reports