From 8c76b063ccbb2b950354f606ca925ade47265e5c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 17 Jan 2016 00:08:52 +0000 Subject: [PATCH] '>' and '<' are not domain safe symbols --- src/libserver/url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libserver/url.c b/src/libserver/url.c index ce5bbe4a3..e68b13a92 100644 --- a/src/libserver/url.c +++ b/src/libserver/url.c @@ -180,8 +180,8 @@ static const unsigned int url_scanner_table[256] = { IS_URLSAFE|IS_DOMAIN|IS_MAILSAFE /* 7 */, IS_URLSAFE|IS_DOMAIN|IS_MAILSAFE /* 8 */, IS_URLSAFE|IS_DOMAIN|IS_MAILSAFE /* 9 */, IS_DOMAIN_END /* : */, - IS_MAILSAFE /* ; */, IS_URLSAFE|IS_DOMAIN|IS_MAILSAFE /* < */, 0 /* = */, - IS_URLSAFE|IS_DOMAIN|IS_MAILSAFE /* > */, IS_DOMAIN_END /* ? */, 0 /* @ */, + IS_MAILSAFE /* ; */, IS_URLSAFE|IS_DOMAIN_END|IS_MAILSAFE /* < */, 0 /* = */, + IS_URLSAFE|IS_DOMAIN_END|IS_MAILSAFE /* > */, IS_DOMAIN_END /* ? */, 0 /* @ */, IS_URLSAFE|IS_DOMAIN|IS_MAILSAFE /* A */, IS_URLSAFE|IS_DOMAIN|IS_MAILSAFE /* B */, IS_URLSAFE|IS_DOMAIN|IS_MAILSAFE /* C */, -- 2.39.5