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