Commit 990387e1 authored by venaas's avatar venaas Committed by venaas
Browse files

restricting characters in dynamic realms to valid DNS...

git-svn-id: e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent e38e6c92
......@@ -2842,7 +2842,7 @@ void adddynamicrealmserver(struct realm *realm, struct clsrvconf *conf, char *id
if (!*realmname)
for (s = realmname; *s; s++)
if (*s != '-' && !isalnum(*s))
if (*s != '.' && *s != '-' && !isalnum(*s))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment