diff options
Diffstat (limited to 'OpenSim/Grid/UserServer.Modules')
-rw-r--r-- | OpenSim/Grid/UserServer.Modules/UserManager.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Grid/UserServer.Modules/UserManager.cs b/OpenSim/Grid/UserServer.Modules/UserManager.cs index c6c3a1a..1f4b07d 100644 --- a/OpenSim/Grid/UserServer.Modules/UserManager.cs +++ b/OpenSim/Grid/UserServer.Modules/UserManager.cs | |||
@@ -248,6 +248,9 @@ namespace OpenSim.Grid.UserServer.Modules | |||
248 | { | 248 | { |
249 | string query = (string) requestData["avatar_name"]; | 249 | string query = (string) requestData["avatar_name"]; |
250 | 250 | ||
251 | if (null == query) | ||
252 | return CreateUnknownUserErrorResponse(); | ||
253 | |||
251 | // Regex objAlphaNumericPattern = new Regex("[^a-zA-Z0-9]"); | 254 | // Regex objAlphaNumericPattern = new Regex("[^a-zA-Z0-9]"); |
252 | 255 | ||
253 | string[] querysplit = query.Split(' '); | 256 | string[] querysplit = query.Split(' '); |