Ignore:
Timestamp:
01/07/10 10:43:34 (14 years ago)
Author:
amuller
Message:

Ticket #879 - Correção do problema ao mostrar email

File:
1 edited

Legend:

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

    r1912 r1923  
    11401140                } 
    11411141                // Malicious Code Remove 
    1142                 $dirtyCodePattern = "/(<([\w]+[\w0-9]*)(.*)on(mouse(move|over|down|up)|load|blur|change|click|dblclick|focus|key(down|up|press)|select)([\n\ ]*)=([\n\ ]*)[\"'][^>\"']*[\"']([^>]*)>)(.*)(<\/\\2>)?/misU"; 
     1142                $dirtyCodePattern = "/(<([\w]+[\w0-9]*)(.*)on(mouse(move|over|down|up)|load|blur|change|error|click|dblclick|focus|key(down|up|press)|select)([\n\ ]*)=([\n\ ]*)[\"'][^>\"']*[\"']([^>]*)>)(.*)(<\/\\2>)?/misU"; 
    11431143                preg_match_all($dirtyCodePattern,$body,$rest,PREG_PATTERN_ORDER); 
    11441144                foreach($rest[0] as $i => $val) 
Note: See TracChangeset for help on using the changeset viewer.