commit 136b7c1
grunfink
·
2025-05-03 16:23:54 +0000 UTC
parent 40c4fdf
No longer drop text/html attachements.
1 files changed,
+0,
-4
M
html.c
M
html.c
+0,
-4
1@@ -2392,10 +2392,6 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2 if (content && xs_str_in(content, o_href) != -1)
3 continue;
4
5- /* drop silently any attachment that may include JavaScript */
6- if (strcmp(type, "text/html") == 0)
7- continue;
8-
9 if (strcmp(type, "image/svg+xml") == 0 && !xs_is_true(xs_dict_get(srv_config, "enable_svg")))
10 continue;
11