diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-10-24 17:04:22 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-10-24 17:04:22 +0000 |
| commit | 4f535f537f9bb15aa93ed4c1edafee3de3e3ec64 (patch) | |
| tree | 6f06c3dd53a84b48bf133ab1d53dafaeacc8154d /roundcubemail/program/include | |
| parent | 99eb2b96a4570bbb4277ffd8f249c0b2d062dd70 (diff) | |
- allow '+' character in mimetype name (#1486239)
git-svn-id: https://svn.roundcube.net/trunk@3057 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcube_message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_message.php b/roundcubemail/program/include/rcube_message.php index 7c2457e55..1a22427d0 100644 --- a/roundcubemail/program/include/rcube_message.php +++ b/roundcubemail/program/include/rcube_message.php @@ -402,7 +402,7 @@ class rcube_message $this->inline_parts[] = $mail_part; } // is a regular attachment - else if (preg_match('!^[a-z]+/[a-z0-9-.]+$!i', $mail_part->mimetype)) { + else if (preg_match('!^[a-z]+/[a-z0-9-.+]+$!i', $mail_part->mimetype)) { if (!$mail_part->filename) $mail_part->filename = 'Part '.$mail_part->mime_id; $this->attachments[] = $mail_part; |
