diff options
Fix a discrepancy vs. SL with parsing x-query-string
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs index 1fd1f47..302a192 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 | |||
439 | if (request.ContainsKey(key)) | 439 | if (request.ContainsKey(key)) |
440 | { | 440 | { |
441 | string val = (String)request[key]; | 441 | string val = (String)request[key]; |
442 | queryString = queryString + key + "=" + val + "&"; | 442 | if (key == "") |
443 | { | ||
444 | queryString = queryString + key + "=" + val + "&"; | ||
445 | } | ||
446 | else | ||
447 | { | ||
448 | queryString = queryString + val + "&"; | ||
449 | } | ||
443 | } | 450 | } |
444 | } | 451 | } |
445 | if (queryString.Length > 1) | 452 | if (queryString.Length > 1) |