aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorTom2011-01-28 13:45:27 -0800
committerTom2011-01-28 13:45:27 -0800
commit13d4fedf7a7822ed408693863d4db00a5381315d (patch)
tree34f1259f4d72ef8642ef7c866bcb16b2e67c2fe1 /OpenSim
parentMake llRequestAgentData shout an error instead of crashing the script when an... (diff)
downloadopensim-SC-13d4fedf7a7822ed408693863d4db00a5381315d.zip
opensim-SC-13d4fedf7a7822ed408693863d4db00a5381315d.tar.gz
opensim-SC-13d4fedf7a7822ed408693863d4db00a5381315d.tar.bz2
opensim-SC-13d4fedf7a7822ed408693863d4db00a5381315d.tar.xz
Fix a discrepancy vs. SL with parsing x-query-string
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs9
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)