* Fixed a bug with null value handling in WebUtil.BuildQueryString()

* Changed the null check back in estate manager setup but fixed the case for an existing account being found
* Implemented SetPassword() in the SimianGrid auth connector
This commit is contained in:
John Hurliman
2010-03-26 12:21:05 -07:00
parent dd1c1b3bcd
commit 5a2315c68c
4 changed files with 5877 additions and 5834 deletions

View File

@@ -263,8 +263,12 @@ namespace OpenSim.Framework
foreach (string key in parameters.Keys)
{
foreach (string value in parameters.GetValues(key))
items.Add(String.Concat(key, "=", HttpUtility.UrlEncode(value ?? String.Empty)));
string[] values = parameters.GetValues(key);
if (values != null)
{
foreach (string value in values)
items.Add(String.Concat(key, "=", HttpUtility.UrlEncode(value ?? String.Empty)));
}
}
return String.Join("&", items.ToArray());