aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/html.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-01-20 14:58:05 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-01-20 14:58:51 +0000
commitaf7a086a06ba8339b0fa870c933586b294783bb0 (patch)
treee21323937c63e470a396ac73a3026ab6a3ceb142 /src/libserver/html.c
parent9908a4360a4433d02f45e4cd3f7e8bb380e77594 (diff)
downloadrspamd-af7a086a06ba8339b0fa870c933586b294783bb0.tar.gz
rspamd-af7a086a06ba8339b0fa870c933586b294783bb0.zip
[Minor] Temporary workaround (should be fixed properly at some point)
Diffstat (limited to 'src/libserver/html.c')
-rw-r--r--src/libserver/html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c
index d907995ac..0dd6eb5cd 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -3200,7 +3200,8 @@ rspamd_html_process_part_full (rspamd_mempool_t *pool,
save_space = FALSE;
}
- if (cur_tag->flags & FL_HREF && !(cur_tag->flags & FL_IGNORE)) {
+ /* XXX: uncomment when styles parsing is not so broken */
+ if (cur_tag->flags & FL_HREF /* && !(cur_tag->flags & FL_IGNORE) */) {
if (!(cur_tag->flags & (FL_CLOSING))) {
url = rspamd_html_process_url_tag (pool, cur_tag, hc);