[dovecot/core] 9e24b1: lib-mail: message_part_*_parse_from_header() - Rep...

GitHub noreply at github.com
Wed Apr 25 10:30:17 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 9e24b13631235ebd8cd5d9d3da3393f04bfaa066
      https://github.com/dovecot/core/commit/9e24b13631235ebd8cd5d9d3da3393f04bfaa066
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-04-25 (Wed, 25 Apr 2018)

  Changed paths:
    M src/lib-mail/message-part-data.c

  Log Message:
  -----------
  lib-mail: message_part_*_parse_from_header() - Replace NULs with 0x80

This avoids truncation of Content-*, Subject, Message-ID, In-Reply-To and
Date headers in IMAP ENVELOPE, BODY and BODYSTRUCTURE replies. Of course,
NULs in headers are violating RFCs already, so the previous behavior wasn't
really wrong either.




More information about the dovecot-cvs mailing list