alecpl
2009-09-30 bf1b66bf1d6eb000938f0080042fce0919976a94
- Fix handling HTML comments in HTML messages (#1486189)


2 files modified
5 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/steps/mail/func.inc 4 ●●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG RoundCube Webmail
===========================
- Fix handling HTML comments in HTML messages (#1486189)
- Fix folder/messagelist controls alignment - icons used (#1486072)
- Fix LDAP addressbook shows 'Contact not found' error sometimes (#1486178)
- Fix cache status checking + improve cache operations performance (#1486104)
program/steps/mail/func.inc
@@ -892,6 +892,10 @@
{
  $tagname = $matches[2];
  // html comments (#1486189)
  if ($matches[1] == '<!')
    return '<!';
  $tagname = preg_replace(array(
    '/:.*$/',        // Microsoft's Smart Tags <st1:xxxx>
    '/[^a-z0-9_-]/i',    // forbidden characters