mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
Protect/Prevent user names from using valid HG identifiers.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
This commit is contained in:
@@ -388,8 +388,8 @@ namespace OpenSim.Services.UserAccountService
|
||||
string rawPrincipalId;
|
||||
string model;
|
||||
|
||||
List<char> excluded = new List<char>(new char[]{' '});
|
||||
|
||||
// List<char> excluded = new List<char>(new char[]{' '});
|
||||
List<char> excluded = new List<char>(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];
|
||||
|
||||
Reference in New Issue
Block a user