]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-mail: rfc822-parser: Don't allow preserving escaped [CR]LF
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Sat, 21 Apr 2018 10:05:49 +0000 (13:05 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 30 Aug 2018 08:13:01 +0000 (11:13 +0300)
commitc98c10e35d59f6b61707ab16e8ec9391e9c8026b
treec20a4d7b13af218c18cb482ec3891b10e2c9b2d7
parent6cc952b1a7a09bd56fd60af90e3ef0a90581bbf8
lib-mail: rfc822-parser: Don't allow preserving escaped [CR]LF

It's not valid to have "\<CR>" or "\<LF>", so the old behavior isn't really
wrong either. However, rfc822_parse_quoted_string() callers are more likely
to expect that the output won't contain any [CR]LF so this new behavior is
a bit better.
src/lib-mail/rfc822-parser.c
src/lib-mail/test-rfc822-parser.c