diff options
author | Charles Krinke | 2008-07-09 18:42:34 +0000 |
---|---|---|
committer | Charles Krinke | 2008-07-09 18:42:34 +0000 |
commit | 96b64d6973e714052bfd3d59748314b15d5ffd2d (patch) | |
tree | 2975bab5b74474d3d937393f868bc96df10f645e /OpenSim/Region | |
parent | Mantis#1704. Thank you kindly, Mjm for a patch that: (diff) | |
download | opensim-SC-96b64d6973e714052bfd3d59748314b15d5ffd2d.zip opensim-SC-96b64d6973e714052bfd3d59748314b15d5ffd2d.tar.gz opensim-SC-96b64d6973e714052bfd3d59748314b15d5ffd2d.tar.bz2 opensim-SC-96b64d6973e714052bfd3d59748314b15d5ffd2d.tar.xz |
Mantis#1127. Thank you kindly, Grumly57 for a patch that:
Addresses HTTP_METHOD parameter does not work for POST requests.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs index a267f53..6e32362 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 | |||
117 | if (parameters != null) | 117 | if (parameters != null) |
118 | { | 118 | { |
119 | string[] parms = parameters.ToArray(); | 119 | string[] parms = parameters.ToArray(); |
120 | for (int i = 0; i < parms.Length / 2; i += 2) | 120 | for (int i = 0; i < parms.Length; i += 2) |
121 | { | 121 | { |
122 | switch (Int32.Parse(parms[i])) | 122 | switch (Int32.Parse(parms[i])) |
123 | { | 123 | { |