Edit message as New. Images in mail gone
-
Hi@all,
I have noted the following. When I edit an e-mail which contains an image in the body (HTML) as new, this image appears correctly in the new mail.
However, it is removed when sending. Neither the recipient has it nor does it appear in the mail in the sent folder.
My system:
Kopano on UCS 4.4-7 errata829
WebApp: 4.6.3.0+156.1
Kopano Core: 8.7.17
Z-Push: 2.6.0+0-0 -
We have the same problem, primary using the WebApp/DeskApp.
Yesterday, I created a new ticket [KS-46535]. -
This is a known bug with DOMPurify we are using in WebApp https://jira.kopano.io/browse/KW-3648
Workaround for now is to turn off DOMPurify in the config.php of WebApp
-
@robing
I look in the file /etc/kopano/webapp/config.php but I don’t find any option here.How do I deactivate DOMPurify? What are the consequences?
-
it should be called
define("ENABLE_DOMPURIFY_FILTER", false);
and if you don’t have it you didn’t upgrade your config when this was introduced and i believe we changed the default to be enabled in the latest versionIf you disable this the server is responsible for html filtering.
The only downside can be that it can feel slower to open mails. -
@robing
I use Kopano from the UCS Appstore. Could it be because I don’t have this option?Can I simply add it?
-
No idea i’m not familiar with the UCS version but you can simply add it yes
-
@robing It worked. Many thanks
-
@pixel Please keep in mind that without DOMPurify cannot be recommended from a security point of view.
-
So, it’s a (critical) bug and the kopano team will fix it as soon as possible?
-
A colleague needs the function: “Edit as New (with picture)” for a Christmas mailing. I only deactivate it until she has her mailing out.