diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-13 18:57:37 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-13 18:57:37 +0000 |
| commit | d8c68ca2ad0b0f38a7dd82ef286f43ea94f4293a (patch) | |
| tree | 14cac242041aab095c6b6306537f2792c1f881b3 /roundcubemail/program/include/main.inc | |
| parent | 7e3b51410e31d5fb3fd8b70fe7b80511f86e8054 (diff) | |
Fix broken quoted-printable encoding
git-svn-id: https://svn.roundcube.net/trunk@1787 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/main.inc')
| -rw-r--r-- | roundcubemail/program/include/main.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc index 77074a0bd..c279f3012 100644 --- a/roundcubemail/program/include/main.inc +++ b/roundcubemail/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; } |
