diff options
author | alecpl <alec@alec.pl> | 2010-04-23 13:05:21 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-04-23 13:05:21 +0000 |
commit | 373747becc9324f294980923a77b5ccffb5f3124 (patch) | |
tree | 5204bfa46eef565771da817f08f886e364c1d1c2 /program/include/rcube_message.php | |
parent | f6ee6f4dd247d25aed7589a6cb3e0192dbd1c2c4 (diff) |
- Fix listing of attachments of some types e.g. "x-epoc/x-sisx-app" (#1486653)
Diffstat (limited to 'program/include/rcube_message.php')
-rw-r--r-- | program/include/rcube_message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php index fd7a970d3..8cb7b02ab 100644 --- a/program/include/rcube_message.php +++ b/program/include/rcube_message.php @@ -422,7 +422,7 @@ class rcube_message $this->inline_parts[] = $mail_part; } // is a regular attachment - else if (preg_match('!^[a-z]+/[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; |