Symptoms
After uploading an image into a Roundcube signature block, the image will be removed when the signature is saved.
Description
New security checks were introduced in Roundcube version 1.6.14 that inadvertently remove base64 images from signature blocks.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-52289. Follow this article to receive an email notification when a solution is published in the product.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Open
/usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_washtml.phpin your preferred text editor. - Scroll down to line 431.
Add an equal sign
=just before the plus sign+in thepreg_matchcheck.if (stripos($type, 'base64') === false || preg_match('|[^0-9a-z\s/=+]|i', $matches[2])) {- Save the changes and close the editor.
Comments
0 comments
Article is closed for comments.