cyrus-imapd/cyrus-imapd-2.1.15-nobarenewlinescheck.patch

13 lines
462 B
Diff
Raw Normal View History

--- cyrus-imapd-2.1.15/imap/message.c.orig 2003-11-11 15:45:11.000000000 +0100
+++ cyrus-imapd-2.1.15/imap/message.c 2003-11-11 15:35:11.000000000 +0100
@@ -246,7 +246,8 @@
for (p = (unsigned char *)buf; *p; p++) {
if (*p == '\n') {
- if (!sawcr) r = IMAP_MESSAGE_CONTAINSNL;
+ /* Do *NOT* check for RFC compliant line breaks (bare newlines) */
+ /* if (!sawcr) r = IMAP_MESSAGE_CONTAINSNL; */
sawcr = 0;
if (blankline) {
inheader = 0;