From 8bea196b5bdeb6376387edd89fd515c8e86ea237 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Wed, 13 May 2009 20:45:28 +0000 Subject: [PATCH] Add the port to the generated URL. For some reson this still doesn't want to receive requests. --- OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs index eb0e80197e..142df4cbef 100644 --- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs @@ -121,7 +121,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_DENIED", "" }); return urlcode; } - string url = "http://"+System.Environment.MachineName+"/lslhttp/"+urlcode.ToString(); + string url = "http://"+System.Environment.MachineName+":"+m_HttpServer.Port.ToString()+"/lslhttp/"+urlcode.ToString(); UrlData urlData = new UrlData(); urlData.hostID = host.UUID;