summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-06-05 18:03:21 +0000
committeralecpl <alec@alec.pl>2009-06-05 18:03:21 +0000
commitc5ee036866791ad1c5ab8281f25179169df9e042 (patch)
treec8fce2342a9a36c5bbb5be25ca8797fb48c12707 /program/steps/mail
parent119cd17abf74bd98afec2979c4ac4a89af1f0ca7 (diff)
- fix rcmail_temp_gc() + small code cleanups
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index d5f3a6875..aad8c7dab 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -861,7 +861,7 @@ function rcmail_washtml_callback($tagname, $attrib, $content)
case 'style':
// decode all escaped entities and reduce to ascii strings
- $stripped = preg_replace('/[^a-zA-Z\(:]/', '', rcmail_xss_entitiy_decode($content));
+ $stripped = preg_replace('/[^a-zA-Z\(:]/', '', rcmail_xss_entity_decode($content));
// now check for evil strings like expression, behavior or url()
if (!preg_match('/expression|behavior|url\(|import/', $stripped)) {