aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/url.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-02 10:45:18 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-02 10:45:18 +0000
commiteacad8d87a38efa746bb91c8761d9265873c596b (patch)
treefa39fbd8b07661279b29e8f769923890922f797b /src/libserver/url.c
parent6d1c2713ad56ede02bff68d848859797e06558df (diff)
downloadrspamd-eacad8d87a38efa746bb91c8761d9265873c596b.tar.gz
rspamd-eacad8d87a38efa746bb91c8761d9265873c596b.zip
[Minor] Allow urls to start from '_'
Diffstat (limited to 'src/libserver/url.c')
-rw-r--r--src/libserver/url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/url.c b/src/libserver/url.c
index 2c396b438..d83c1988f 100644
--- a/src/libserver/url.c
+++ b/src/libserver/url.c
@@ -704,6 +704,7 @@ is_domain_start (int p)
if (g_ascii_isalnum (p) ||
p == '[' ||
p == '%' ||
+ p == '_' ||
(p & 0x80)) {
return TRUE;
}