summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-09-13 18:57:37 +0000
committerthomascube <thomas@roundcube.net>2008-09-13 18:57:37 +0000
commit14c5b8e1323c029a17abc4ead8999d508c86ac5b (patch)
treec403ec978ba118e9de4f9e6c5c5af4dbe0c2feba /program/include/main.inc
parent4c70d1f9a2162a6ca41a4f604dc3466ef22afa16 (diff)
Fix broken quoted-printable encoding
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 77074a0bd..c279f3012 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -643,7 +643,7 @@ function rcmail_mod_css_styles($source, $container_id, $base_url = '')
function rcmail_xss_entitiy_decode($content)
{
$out = html_entity_decode(html_entity_decode($content));
- $out = preg_replace('/\\\([a-z0-9]{4})/ie', "chr(hexdec('\\1'))", $out);
+ $out = preg_replace('/\\\([0-9a-f]{4})/ie', "chr(hexdec('\\1'))", $out);
$out = preg_replace('#/\*.*\*/#Um', '', $out);
return $out;
}