Ignore:
Timestamp:
Aug 10, 2011 4:06:00 AM (22 months ago)
Author:
alec
Message:
  • Mail_Mime-1.8.2
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/lib/Mail/mimePart.php

    r5033 r5038  
    146146    *     cid               - Content ID to apply 
    147147    *     disposition       - Content disposition, inline or attachment 
    148     *     dfilename         - Filename parameter for content disposition 
     148    *     filename          - Filename parameter for content disposition 
    149149    *     description       - Content description 
    150150    *     name_encoding     - Encoding of the attachment name (Content-Type) 
     
    187187                $this->_body_file = $value; 
    188188                break; 
     189 
     190            // for backward compatibility 
     191            case 'dfilename': 
     192                $params['filename'] = $value; 
     193                break; 
    189194            } 
    190195        } 
     
    803808        if (!empty($separator)) { 
    804809            // Simple e-mail address regexp 
    805             $email_regexp = '(\S+|("\s*(?:[^"\f\n\r\t\v\b\s]+\s*)+"))@\S+'; 
     810            $email_regexp = '(\S+|("[^\r\n"]+"))@\S+'; 
    806811 
    807812            $parts = Mail_mimePart::_explodeQuotedString($separator, $value); 
Note: See TracChangeset for help on using the changeset viewer.