Changeset 18e2a3ef in github
- Timestamp:
- Dec 31, 2006 10:16:09 AM (6 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 462a9d9
- Parents:
- 2af4e48
- Location:
- program
- Files:
-
- 2 edited
-
include/main.inc (modified) (1 diff)
-
steps/mail/func.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/include/main.inc
r86df152 r18e2a3ef 1089 1089 * @see rep_specialchars_output 1090 1090 */ 1091 function JQ($str , $mode='strict', $newlines=TRUE)1092 { 1093 return rep_specialchars_output($str, 'js' , $mode, $newlines);1091 function JQ($str) 1092 { 1093 return rep_specialchars_output($str, 'js'); 1094 1094 } 1095 1095 -
program/steps/mail/func.inc
r86df152 r18e2a3ef 1215 1215 { 1216 1216 $prev_body = $body; 1217 $body = preg_replace('/(<[^!][^>]* ?\s)(on[^=]+)(=[^>]*?>)/im', '$1__removed=$3', $body);1218 $body = preg_replace('/(<[^!][^>]* ?\shref=["\']?)(javascript:)([^>]*?>)/im', '$1null:$3', $body);1217 $body = preg_replace('/(<[^!][^>]*\s)(on[^=>]+)=([^>]+>)/im', '$1__removed=$3', $body); 1218 $body = preg_replace('/(<[^!][^>]*\shref=["\']?)(javascript:)([^>]*?>)/im', '$1null:$3', $body); 1219 1219 } 1220 1220
Note: See TracChangeset
for help on using the changeset viewer.
