aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-11-25 15:41:14 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-11-25 15:41:14 +0300
commitb7a711ab340c6c1044ec6c501d64b489bb86ba9d (patch)
treec96cbb99a0990ffbfe0cd8ee02ad5af88cef4604
parente2b08413781f55098787f319a2edafb5980f1cb6 (diff)
downloadrspamd-b7a711ab340c6c1044ec6c501d64b489bb86ba9d.tar.gz
rspamd-b7a711ab340c6c1044ec6c501d64b489bb86ba9d.zip
Fix decoding of escaped URL's
-rw-r--r--src/url.c8
1 files changed, 4 insertions, 4 deletions
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}
};