From: Vsevolod Stakhov Date: Thu, 25 Nov 2010 12:41:14 +0000 (+0300) Subject: Fix decoding of escaped URL's X-Git-Tag: 0.3.7~109 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b7a711ab340c6c1044ec6c501d64b489bb86ba9d;p=rspamd.git Fix decoding of escaped URL's --- diff --git a/src/url.c b/src/url.c index 3edc0a7b1..f1b4242a1 100644 --- a/src/url.c +++ b/src/url.c @@ -102,10 +102,10 @@ struct url_match_scanner *url_scanner = NULL; static const struct _proto protocol_backends[] = { {"file", 0, NULL, 1, 0, 0, 0}, - {"ftp", 21, NULL, 1, 1, 0, 0}, - {"http", 80, NULL, 1, 1, 0, 0}, - {"https", 443, NULL, 1, 1, 0, 1}, - {"mailto", 25, NULL, 1, 1, 0, 0}, + {"ftp", 21, NULL, 1, 0, 0, 0}, + {"http", 80, NULL, 1, 0, 0, 0}, + {"https", 443, NULL, 1, 0, 0, 1}, + {"mailto", 25, NULL, 1, 0, 0, 0}, /* Keep these last! */ {NULL, 0, NULL, 0, 0, 1, 0} };