]> source.dussan.org Git - rspamd.git/commitdiff
'>' and '<' are not domain safe symbols
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 17 Jan 2016 00:08:52 +0000 (00:08 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 17 Jan 2016 00:08:52 +0000 (00:08 +0000)
src/libserver/url.c

index ce5bbe4a3b9e0d36b510d6960f8444b3775f7409..e68b13a9260453b3bd02cd0949eeba5013427076 100644 (file)
@@ -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 */,