15 lines
548 B
Diff
15 lines
548 B
Diff
|
--- cyrus-imapd-2.3.7/imap/message.c 2006-10-28 22:18:08.000000000 +0200
|
||
|
+++ cyrus-imapd-2.3.7/imap/message.c.nobarenewlinescheck 2006-10-28 22:21:55.000000000 +0200
|
||
|
@@ -256,8 +256,9 @@
|
||
|
r = IMAP_MESSAGE_CONTAINSNULL;
|
||
|
}
|
||
|
else if (*p == '\n') {
|
||
|
- if (!sawcr && (inheader || !allow_null))
|
||
|
- r = IMAP_MESSAGE_CONTAINSNL;
|
||
|
+ /* Do *NOT* check for RFC compliant line breaks (bare newlines) */
|
||
|
+ /* if (!sawcr && (inheader || !allow_null))
|
||
|
+ r = IMAP_MESSAGE_CONTAINSNL; */
|
||
|
sawcr = 0;
|
||
|
if (blankline) {
|
||
|
inheader = 0;
|