diff options
-rw-r--r-- | src/libserver/html.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c index 887924bd2..46e7cfbaa 100644 --- a/src/libserver/html.c +++ b/src/libserver/html.c @@ -846,6 +846,8 @@ rspamd_html_url_is_phished (rspamd_mempool_t *pool, gint rc, state = 0; gchar *url_str = NULL; + *url_found = FALSE; + if (rspamd_url_find (pool, url_text, len, NULL, NULL, &url_str, TRUE, &state) && url_str != NULL) { text_url = rspamd_mempool_alloc0 (pool, sizeof (struct rspamd_url)); |