mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* 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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user