Changeset 1923 for trunk/expressoMail1_2/inc/class.imap_functions.inc.php
- Timestamp:
- 01/07/10 10:43:34 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r1912 r1923 1140 1140 } 1141 1141 // 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"; 1143 1143 preg_match_all($dirtyCodePattern,$body,$rest,PREG_PATTERN_ORDER); 1144 1144 foreach($rest[0] as $i => $val)
Note: See TracChangeset
for help on using the changeset viewer.