Add the port to the generated URL. For some reson this still doesn't want to

receive requests.
This commit is contained in:
Melanie Thielker
2009-05-13 20:45:28 +00:00
parent fb3d5770dd
commit 8bea196b5b

View File

@@ -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;