From: Alan T. DeKok Date: Thu, 12 Sep 2019 16:07:28 +0000 (-0400) Subject: allow '@', too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f30403d2af012220ba155fc614c080a4f489cbe;p=thirdparty%2Ffreeradius-server.git allow '@', too --- diff --git a/src/lib/server/tmpl.c b/src/lib/server/tmpl.c index 5afc99cb111..870deb8c673 100644 --- a/src/lib/server/tmpl.c +++ b/src/lib/server/tmpl.c @@ -3225,7 +3225,7 @@ ssize_t tmpl_preparse(char const **out, size_t *outlen, char const *start, * host names and IP addresses, and IPv6 addresses. */ if ((*p == '.') || (*p == '/') || (*p == '_') || (*p == '*') || - (*p == ']')) { + (*p == ']') || (*p == '@')) { p++; continue; }