diff options
author | Bill Blight | 2018-09-17 07:45:06 -0700 |
---|---|---|
committer | UbitUmarov | 2018-10-23 22:06:16 +0100 |
commit | bd4907e96015de610f90ffce28928a213b62436a (patch) | |
tree | caee68745ca795eabead05d7fe3529019ed68292 | |
parent | a few changes to last commit (diff) | |
download | opensim-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>
-rw-r--r-- | OpenSim/Services/UserAccountService/UserAccountService.cs | 4 |
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]; |