Changeset 3057 in subversion


Ignore:
Timestamp:
Oct 24, 2009 1:04:22 PM (4 years ago)
Author:
alec
Message:
  • allow '+' character in mimetype name (#1486239)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_message.php

    r2877 r3057  
    403403          } 
    404404          // is a regular attachment 
    405           else if (preg_match('!^[a-z]+/[a-z0-9-.]+$!i', $mail_part->mimetype)) { 
     405          else if (preg_match('!^[a-z]+/[a-z0-9-.+]+$!i', $mail_part->mimetype)) { 
    406406            if (!$mail_part->filename) 
    407407              $mail_part->filename = 'Part '.$mail_part->mime_id; 
Note: See TracChangeset for help on using the changeset viewer.