Thomas Bruederli
2013-01-14 4f9edbd79936c2139d6a20b1121bfc6d8e46a2fa
Select 8 KB of message part for headers (to make sure we get them all)
1 files modified
2 ■■■ changed files
program/lib/Roundcube/rcube_message.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_message.php
@@ -322,7 +322,7 @@
            // 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);
            }
        }