Disallow ftp in reformatted messages

This commit is contained in:
M66B 2020-06-22 11:08:16 +02:00
parent a3fa681eda
commit 1972756577
1 changed files with 1 additions and 0 deletions

View File

@ -456,6 +456,7 @@ public class HtmlHelper {
.removeAttributes("th", "colspan", "rowspan", "width")
.addProtocols("img", "src", "cid")
.addProtocols("img", "src", "data")
.removeProtocols("a", "href", "ftp")
.addProtocols("a", "href", "full", "xmpp", "geo", "tel");
if (text_color)
whitelist.addAttributes("font", "color");