summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-05 12:31:19 +0000
committeralecpl <alec@alec.pl>2009-09-05 12:31:19 +0000
commit161c28dffcab78da00b6b80693ef9423c4258248 (patch)
tree9cd2da22daa5e00b029779334fa04d865b4f5ae4 /program/lib
parent7df0e352101c36d06e6831123be678a8a6b5077d (diff)
- Fix wrong headers for IE on servers without $_SERVER['HTTPS'] (#1485926)
- Force IE style headers for attachments in non-HTTPS session, 'use_https' option (#1485655)
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/imap.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index e6b3ce171..02c9bd9b5 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -620,7 +620,7 @@ function iil_Connect($host, $user, $password, $options=null) {
}
stream_set_timeout($conn->fp, 10);
- $line = stream_get_line($conn->fp, 8192, "\r\n");
+ $line = stream_get_line($conn->fp, 8192, "\n");
if ($my_prefs['debug_mode'] && $line)
write_log('imap', 'S: '. $line);