From bd4907e96015de610f90ffce28928a213b62436a Mon Sep 17 00:00:00 2001 From: Bill Blight Date: Mon, 17 Sep 2018 07:45:06 -0700 Subject: Protect/Prevent user names from using valid HG identifiers. Signed-off-by: UbitUmarov --- OpenSim/Services/UserAccountService/UserAccountService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs index abd9bbf..24f436d 100644 --- a/OpenSim/Services/UserAccountService/UserAccountService.cs +++ b/OpenSim/Services/UserAccountService/UserAccountService.cs @@ -388,8 +388,8 @@ namespace OpenSim.Services.UserAccountService string rawPrincipalId; string model; - List excluded = new List(new char[]{' '}); - + // List excluded = new List(new char[]{' '}); + List excluded = new List(new char[]{' ', '@', '.', ':' }); //Protect user names from using valid HG identifiers. if (cmdparams.Length < 3) firstName = MainConsole.Instance.CmdPrompt("First name", "Default", excluded); else firstName = cmdparams[2]; -- cgit v1.1