summaryrefslogtreecommitdiff
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:51 +0100
commit2080feca9367c057590835df12f5ebe6da8c1e9c (patch)
treefb246ac9d07565e0917c869d38655a9edbd5ae43
parentba36369638896d4fd3edb8e52b8cdc6c82608333 (diff)
Select 8 KB of message part for headers (to make sure we get them all)
-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);
}
}