mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Disallow ftp in reformatted messages
This commit is contained in:
parent
a3fa681eda
commit
1972756577
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue