From c5ee036866791ad1c5ab8281f25179169df9e042 Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 5 Jun 2009 18:03:21 +0000 Subject: - fix rcmail_temp_gc() + small code cleanups --- program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/mail/func.inc') 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)) { -- cgit v1.2.3