From 96b64d6973e714052bfd3d59748314b15d5ffd2d Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Wed, 9 Jul 2008 18:42:34 +0000 Subject: [PATCH] Mantis#1127. Thank you kindly, Grumly57 for a patch that: Addresses HTTP_METHOD parameter does not work for POST requests. --- .../Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs index a267f5370c..6e32362ad7 100644 --- a/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs +++ b/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs @@ -117,7 +117,7 @@ namespace OpenSim.Region.Environment.Modules.Scripting.HttpRequest if (parameters != null) { string[] parms = parameters.ToArray(); - for (int i = 0; i < parms.Length / 2; i += 2) + for (int i = 0; i < parms.Length; i += 2) { switch (Int32.Parse(parms[i])) {