aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserAccountService/UserAccountService.cs
diff options
context:
space:
mode:
authorBill Blight2018-09-17 07:45:06 -0700
committerUbitUmarov2018-10-23 22:06:16 +0100
commitbd4907e96015de610f90ffce28928a213b62436a (patch)
treecaee68745ca795eabead05d7fe3529019ed68292 /OpenSim/Services/UserAccountService/UserAccountService.cs
parenta few changes to last commit (diff)
downloadopensim-SC-bd4907e96015de610f90ffce28928a213b62436a.zip
opensim-SC-bd4907e96015de610f90ffce28928a213b62436a.tar.gz
opensim-SC-bd4907e96015de610f90ffce28928a213b62436a.tar.bz2
opensim-SC-bd4907e96015de610f90ffce28928a213b62436a.tar.xz
Protect/Prevent user names from using valid HG identifiers.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
Diffstat (limited to 'OpenSim/Services/UserAccountService/UserAccountService.cs')
-rw-r--r--OpenSim/Services/UserAccountService/UserAccountService.cs4
1 files 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
388 string rawPrincipalId; 388 string rawPrincipalId;
389 string model; 389 string model;
390 390
391 List<char> excluded = new List<char>(new char[]{' '}); 391 // List<char> excluded = new List<char>(new char[]{' '});
392 392 List<char> excluded = new List<char>(new char[]{' ', '@', '.', ':' }); //Protect user names from using valid HG identifiers.
393 if (cmdparams.Length < 3) 393 if (cmdparams.Length < 3)
394 firstName = MainConsole.Instance.CmdPrompt("First name", "Default", excluded); 394 firstName = MainConsole.Instance.CmdPrompt("First name", "Default", excluded);
395 else firstName = cmdparams[2]; 395 else firstName = cmdparams[2];