diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-14 06:39:10 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-14 06:39:10 +0000 |
| commit | c85a82493e3a89e6c7f9a9cb37871e54dceba4cf (patch) | |
| tree | 20151e3962c6f7430825b33c5119bed66689cb90 | |
| parent | 73640a8b4d8d3d7ccd2696de28966fe7110dae29 (diff) | |
- fix uudecode (skip "begin XXX filename" header)
git-svn-id: https://svn.roundcube.net/trunk@2475 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/lib/imap.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/lib/imap.inc b/roundcubemail/program/lib/imap.inc index 61ba22414..1502064a8 100644 --- a/roundcubemail/program/lib/imap.inc +++ b/roundcubemail/program/lib/imap.inc @@ -2418,7 +2418,7 @@ function iil_C_HandlePartBody(&$conn, $mailbox, $id, $part='', $encoding=NULL, $ else $result .= quoted_printable_decode($line); } else if ($mode == 3) { - if ($line == 'end') + if ($line == 'end' || preg_match('/^begin\s+[0-7]+\s+.+$/', $line)) continue; if ($file) fwrite($file, convert_uudecode($line)); |
