summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-01-14 21:41:02 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-01-14 21:41:02 +0100
commit4f9edbd79936c2139d6a20b1121bfc6d8e46a2fa (patch)
tree8c4c123ba5d4cb6a06fc15cf1501194b8fb5e28b /program/lib
parent0b3b66ab127fb534a6941ce89739a7a53be8d9ad (diff)
Select 8 KB of message part for headers (to make sure we get them all)
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/Roundcube/rcube_message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php
index 51b2242df..b52b79b25 100644
--- a/program/lib/Roundcube/rcube_message.php
+++ b/program/lib/Roundcube/rcube_message.php
@@ -322,7 +322,7 @@ class rcube_message
// parse headers from message/rfc822 part
if (!isset($structure->headers['subject'])) {
- list($headers, $dump) = explode("\r\n\r\n", $this->get_part_content($structure->mime_id, null, true, 4096));
+ list($headers, $dump) = explode("\r\n\r\n", $this->get_part_content($structure->mime_id, null, true, 8192));
$structure->headers = rcube_mime::parse_headers($headers);
}
}