Changeset 4112 in subversion


Ignore:
Timestamp:
Oct 20, 2010 7:12:28 AM (3 years ago)
Author:
alec
Message:
  • Allow underline in content-type name, per comments in #1487051
File:
1 edited

Legend:

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

    r4059 r4112  
    470470                    } 
    471471                    // is a regular attachment 
    472                     else if (preg_match('!^[a-z0-9-.+]+/[a-z0-9-.+]+$!i', $part_mimetype)) { 
     472                    else if (preg_match('!^[a-z0-9-.+_]+/[a-z0-9-.+_]+$!i', $part_mimetype)) { 
    473473                        if (!$mail_part->filename) 
    474474                            $mail_part->filename = 'Part '.$mail_part->mime_id; 
Note: See TracChangeset for help on using the changeset viewer.