diff --git a/CHANGELOG b/CHANGELOG index 84dc97b21..7aefac7c1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,7 @@ CHANGELOG Roundcube Webmail =========================== - +- Fix missing emoticons on html-to-text conversion - Fix random "access to this resource is secured against CSRF" message at logout (#1490641) - Fix missing language name in "Add to Dictionary" request in HTML mode (#1490634) - Enable use of TLSv1.1 and TLSv1.2 for IMAP (#1490640) diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 918be18fb..95ad67a37 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -1926,7 +1926,8 @@ class rcmail extends rcube foreach ($emoticons as $idx => $file) { // Cry - $search[] = '/]+\/>/i'; + $file = preg_quote('program/js/tinymce/plugins/emoticons/img/' . $file . '.gif', '/'); + $search[] = '/]+\/>/i'; $replace[] = $idx; }