diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-20 11:12:28 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-20 11:12:28 +0000 |
| commit | 1740630d85b32a782a820c66ed2ec64880aa5147 (patch) | |
| tree | 3ad8e1681a0db438413461cd122152619f7ddd0c /roundcubemail/program/include | |
| parent | 2264bd8ab0f511620244e535bea8b63e9f045bed (diff) | |
- Allow underline in content-type name, per comments in #1487051
git-svn-id: https://svn.roundcube.net/trunk@4112 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 fd42e4ad4..2b793c441 100644 --- a/roundcubemail/program/include/rcube_message.php +++ b/roundcubemail/program/include/rcube_message.php @@ -469,7 +469,7 @@ class rcube_message $this->parse_structure($mail_part, true); } // is a regular attachment - else if (preg_match('!^[a-z0-9-.+]+/[a-z0-9-.+]+$!i', $part_mimetype)) { + else if (preg_match('!^[a-z0-9-.+_]+/[a-z0-9-.+_]+$!i', $part_mimetype)) { if (!$mail_part->filename) $mail_part->filename = 'Part '.$mail_part->mime_id; $this->attachments[] = $mail_part; |
