Changeset 7470


Ignore:
Timestamp:
10/26/12 15:06:25 (8 years ago)
Author:
alexandrecorreia
Message:

Ticket #2507 - Ajustando os encodings dos parametros para caixa postal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/webservice/api/rest/mail/DelFolderResource.php

    r6166 r7470  
    88                if($this-> isLoggedIn()) 
    99                { 
    10                         $params['del_past'] = $folder_id = $this->getParam('folderID'); 
     10                        $params['del_past'] = $folder_id = mb_convert_encoding($this->getParam('folderID'),"UTF-8","ISO-8859-1"); 
    1111 
    12                         if(!$this->getImap()->folder_exists($folder_id)) 
     12                        if(!$this->getImap()->folder_exists(mb_convert_encoding($folder_id, "UTF7-IMAP","UTF-8"))) 
    1313                                Errors::runException("MAIL_INVALID_FOLDER"); 
    1414 
Note: See TracChangeset for help on using the changeset viewer.