Fix a discrepancy vs. SL with parsing x-query-string

avinationmerge
Tom 2011-01-28 13:45:27 -08:00
parent ffbfc14689
commit 13d4fedf7a
1 changed files with 8 additions and 1 deletions

View File

@ -439,7 +439,14 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
if (request.ContainsKey(key))
{
string val = (String)request[key];
queryString = queryString + key + "=" + val + "&";
if (key == "")
{
queryString = queryString + key + "=" + val + "&";
}
else
{
queryString = queryString + val + "&";
}
}
}
if (queryString.Length > 1)