From 13d4fedf7a7822ed408693863d4db00a5381315d Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 28 Jan 2011 13:45:27 -0800 Subject: [PATCH] Fix a discrepancy vs. SL with parsing x-query-string --- .../Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs index 1fd1f47bf8..302a192729 100644 --- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs @@ -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)