]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Allow urls to start from '_'
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 2 Mar 2021 10:45:18 +0000 (10:45 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 2 Mar 2021 10:45:18 +0000 (10:45 +0000)
src/libserver/url.c

index 2c396b438997d91180fc5d6e4cfb6e5a04779aa0..d83c1988f2e23f2ef6977f0b5ade2f3674bc14f4 100644 (file)
@@ -704,6 +704,7 @@ is_domain_start (int p)
        if (g_ascii_isalnum (p) ||
                p == '[' ||
                p == '%' ||
+               p == '_' ||
                (p & 0x80)) {
                return TRUE;
        }