From 8d33ab903b5d6a1cfab1bf4711c6abc4bdb9eda2 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 24 Oct 2015 22:48:31 +0100 Subject: [PATCH] merge issue: fix missing '/' --- OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs index 30e23a93e6..a21931c231 100644 --- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs @@ -587,8 +587,9 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp int pos1 = uri.IndexOf("/");// /lslhttp int pos2 = uri.IndexOf("/", pos1 + 1);// /lslhttp/ - int pos3 = pos2 + 37; // /lslhttp/urlcode - string uri_tmp = uri.Substring(0, pos3); + int pos3 = uri.IndexOf("/", pos2 + 1); // /lslhttp/urlcode + + string uri_tmp = uri.Substring(0, pos3 + 1); //HTTP server code doesn't provide us with QueryStrings string pathInfo; string queryString;