lib/kolab_sync_message.php
Aleksander Machniak
machniak at kolabsys.com
Wed Jan 22 18:03:59 CET 2014
lib/kolab_sync_message.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 732642249064fc6b2cb8f01117879a70403c9e8c
Author: Aleksander Machniak <alec at alec.pl>
Date: Wed Jan 22 18:03:31 2014 +0100
Don't replace \r in multiline headers
diff --git a/lib/kolab_sync_message.php b/lib/kolab_sync_message.php
index 355b4f7..79ac8d9 100644
--- a/lib/kolab_sync_message.php
+++ b/lib/kolab_sync_message.php
@@ -378,7 +378,7 @@ class kolab_sync_message
foreach ($headers as $line) {
if (ord($line[0]) <= 32) {
- $lines[$ln] .= (empty($lines[$ln]) ? '' : "\n") . $line;
+ $lines[$ln] .= (empty($lines[$ln]) ? '' : "\r\n") . $line;
}
else {
$lines[++$ln] = trim($line);
More information about the commits
mailing list