Ignore:
Timestamp:
08/29/07 08:55:50 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r53 r63  
    657657                $tag_list = Array('head','blink','object','frame', 
    658658                        'iframe','layer','ilayer','plaintext','script', 
    659                         'applet','embed','frameset','xml','xmp'); 
     659                        'applet','embed','frameset','xml','xmp','style'); 
    660660 
    661661                $body = $this-> replace_links($body); 
     
    10511051                $attachments = $params['FILES']; 
    10521052                $forwarding_attachments = $params['forwarding_attachments']; 
     1053                  
    10531054                $folder =$params['folder']; 
    10541055                $folder = mb_convert_encoding($folder, "UTF7-IMAP","ISO_8859-1");                
     
    11421143                        foreach($forwarding_attachments as $forwarding_attachment) 
    11431144                        { 
    1144                                 $tmp_forwarding_attachment = str_replace("'", "", $forwarding_attachment); 
    1145                                 $file_description = explode(",", $tmp_forwarding_attachment); 
     1145                                $file_description = unserialize(rawurldecode($forwarding_attachment)); 
     1146                                foreach($file_description as $i => $descriptor){                                 
     1147                                        $file_description[$i]  = eregi_replace('\'*\'','',$descriptor); 
     1148                                } 
    11461149                                $fileContent = $this->get_forwarding_attachment($file_description[0], $file_description[1], $file_description[3],$file_description[4]); 
    1147                                 $fileName = rawurldecode($file_description[2]); 
     1150                                $fileName = $file_description[2]; 
    11481151                                if(!array_search(trim($fileName),$name_cid_files)) { 
    11491152                                        $mail->AddStringAttachment($fileContent, $fileName, $file_description[4], $this->get_file_type($file_description[2])); 
Note: See TracChangeset for help on using the changeset viewer.