Changeset 2347


Ignore:
Timestamp:
03/26/10 10:15:35 (14 years ago)
Author:
rodsouza
Message:

Ticket #1003 - Elevando limite pcre.backtrace no momento da leitura do e-mail.

File:
1 edited

Legend:

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

    r2322 r2347  
    11931193                $body = preg_replace( $pattern, $replacement, $body ); 
    11941194 
     1195                //file_put_contents( '/tmp/mail', $body ); 
     1196 
    11951197                // Domains and IPs addresses found in the text and which is not a link yet should be replaced by one. 
    11961198                // See more informations in www.iana.org 
     
    12261228                $pattern = "/(<\w[^>]+|[\/\"'@=])?{$url}/"; 
    12271229 
     1230                ini_set( 'pcre.backtrack_limit', 300000 ); 
    12281231                /* 
    12291232                // PHP 5.3 
     
    12501253                        ), $body 
    12511254                ); 
     1255                ini_set( 'pcre.backtrack_limit', 100000 ); 
    12521256 
    12531257                // E-mail address in the text should create a new e-mail on ExpressoMail 
Note: See TracChangeset for help on using the changeset viewer.