Changeset 7180 for branches


Ignore:
Timestamp:
09/06/12 15:23:59 (12 years ago)
Author:
eduardow
Message:

Ticket #3095 - Problema ao encaminhar mensagem com anexo.

Location:
branches/2.4/expressoMail1_2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/expressoMail1_2/inc/class.imap_functions.inc.php

    r7162 r7180  
    29532953                    switch ($value['type']) { 
    29542954                        case 'imapPart': 
    2955                                 $att = $this->getForwardingAttachment($value['folder'],$value['uid'], $value['part']); 
     2955                                $att = $this->getForwardingAttachment(mb_convert_encoding($value['folder'] , 'ISO-8859-1' , 'UTF7-IMAP'),$value['uid'], $value['part']); 
    29562956                                if(strstr($body,'src="./inc/get_archive.php?msgFolder='.$value['folder'].'&msgNumber='.$value['uid'].'&indexPart='.$value['part'].'"') !== false)//Embeded IMG  
    29572957                                {     
  • branches/2.4/expressoMail1_2/js/main.js

    r7156 r7180  
    21602160                                var att = new Object(); 
    21612161                                var regex = new RegExp( "'", "g" ); 
    2162                                 att.folder = arrayAtt[0].replace(regex,""); 
     2162                                att.folder = utf8_decoder(Base64.decode(arrayAtt[0].replace(regex,""))); 
    21632163                                att.uid = arrayAtt[1].replace(regex,""); 
    21642164                                att.part = arrayAtt[3].replace(regex,""); 
     
    22882288                var att = new Object(); 
    22892289                var regex = new RegExp( "'", "g" ); 
    2290                 att.folder = arrayAtt[0].replace(regex,""); 
     2290                att.folder = utf8_decoder(Base64.decode(arrayAtt[0].replace(regex,""))); 
    22912291                att.uid = arrayAtt[1].replace(regex,""); 
    22922292                att.part = arrayAtt[3].replace(regex,""); 
Note: See TracChangeset for help on using the changeset viewer.