commit eacad8d: [Minor] Allow urls to start from '_'
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Mar 2 10:49:06 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-03-02 10:45:18 +0000
URL: https://github.com/rspamd/rspamd/commit/eacad8d87a38efa746bb91c8761d9265873c596b (HEAD -> master)
[Minor] Allow urls to start from '_'
---
src/libserver/url.c | 1 +
1 file changed, 1 insertion(+)
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;
}
More information about the Commits
mailing list