aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libserver/html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c
index edf831238..9c6fd0888 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -874,8 +874,8 @@ parse_tag_url (struct rspamd_task *task,
rspamd_url_unescape (url_text);
decode_entitles (url_text, NULL);
- if (g_ascii_strncasecmp (url_text, "http://",
- sizeof ("http://") - 1) != 0 &&
+ if (g_ascii_strncasecmp (url_text, "http",
+ sizeof ("http") - 1) != 0 &&
g_ascii_strncasecmp (url_text, "www",
sizeof ("www") - 1) != 0 &&
g_ascii_strncasecmp (url_text, "ftp://",