summaryrefslogtreecommitdiff
path: root/roundcubemail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-01 12:48:41 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-01 12:48:41 +0000
commit884d18d7fc7a46fe1bd4538067fa83f58740fb2c (patch)
tree5e23bd6f621d6498d53e37c84f7c9c3984f7f913 /roundcubemail
parenteccdc88369276f7f941927b3589fd75dd03ee128 (diff)
- fix displaying attachments with backslash in filename (#1486076)
git-svn-id: https://svn.roundcube.net/trunk@2902 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
-rw-r--r--roundcubemail/program/lib/imap.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/lib/imap.inc b/roundcubemail/program/lib/imap.inc
index ffa434ee2..e6b3ce171 100644
--- a/roundcubemail/program/lib/imap.inc
+++ b/roundcubemail/program/lib/imap.inc
@@ -1501,7 +1501,7 @@ function iil_C_FetchHeaders(&$conn, $mailbox, $message_set, $uidfetch=false, $bo
if($bodystr) {
while (!preg_match('/ BODYSTRUCTURE (.*) BODY\[HEADER.FIELDS/s', $line, $m)) {
$line2 = iil_ReadLine($fp, 1024);
- $line .= iil_MultLine($fp, $line2);
+ $line .= iil_MultLine($fp, $line2, true);
}
$result[$id]->body_structure = $m[1];
}
@@ -2479,7 +2479,7 @@ function iil_C_FetchStructureString(&$conn, $folder, $id, $is_uid=false) {
if (iil_PutLine($fp, $key . ($is_uid ? ' UID' : '') ." FETCH $id (BODYSTRUCTURE)")) {
do {
$line = iil_ReadLine($fp, 5000);
- $line = iil_MultLine($fp, $line);
+ $line = iil_MultLine($fp, $line, true);
if (!preg_match("/^$key/", $line))
$result .= $line;
} while (!iil_StartsWith($line, $key, true));