diff options
| author | grunfink <grunfink@comam.es> | 2025-05-03 18:23:54 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-05-03 18:23:54 +0200 |
| commit | 136b7c1581ae6e4aac4a1e4fa04340eb9aab7943 (patch) | |
| tree | bb1c7b18d50ae32427088c2f741da8e8efc4276f | |
| parent | 40c4fdf41595664835f46fd10447ffc8f97c7aff (diff) | |
No longer drop text/html attachements.
| -rw-r--r-- | html.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -2392,10 +2392,6 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, if (content && xs_str_in(content, o_href) != -1) continue; - /* drop silently any attachment that may include JavaScript */ - if (strcmp(type, "text/html") == 0) - continue; - if (strcmp(type, "image/svg+xml") == 0 && !xs_is_true(xs_dict_get(srv_config, "enable_svg"))) continue; |