diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-11 13:01:16 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-11 13:01:46 +0000 |
commit | 78938e41c02ad901ecc97ed6040008d3c368924b (patch) | |
tree | 1c4b0ca0c5c09c0541e2505807c292de7da7ed36 /src/libserver/html.c | |
parent | 28973735682581bcb5c0825df562edcaa6641923 (diff) | |
download | rspamd-78938e41c02ad901ecc97ed6040008d3c368924b.tar.gz rspamd-78938e41c02ad901ecc97ed6040008d3c368924b.zip |
Decode URL obtained from HTML tags.
Diffstat (limited to 'src/libserver/html.c')
-rw-r--r-- | src/libserver/html.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c index 539ff555d..fdb6a11db 100644 --- a/src/libserver/html.c +++ b/src/libserver/html.c @@ -867,6 +867,7 @@ parse_tag_url (struct rspamd_task *task, url_text = rspamd_mempool_alloc (task->task_pool, len + 1); rspamd_strlcpy (url_text, c, len + 1); + rspamd_url_unescape (url_text); decode_entitles (url_text, NULL); if (g_ascii_strncasecmp (url_text, "http://", |