From fe16a72a9a10c5b9057351f798d9098ada3002ae Mon Sep 17 00:00:00 2001 From: Kevin Cozens Date: Tue, 22 Oct 2013 15:43:18 -0400 Subject: Pass method to offline.php using ?blah instead of /blah/. Avoids issue with Apache web servers running PHP via CGI. --- .../Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs index 7f3d0a2..5900e21 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs @@ -179,7 +179,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage List msglist = SynchronousRestObjectRequester.MakeRequest>( - "POST", m_RestURL + "/RetrieveMessages/", client.AgentId); + "POST", m_RestURL + "?RetrieveMessages", client.AgentId); if (msglist == null) { @@ -231,7 +231,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage scene = m_SceneList[0]; bool success = SynchronousRestObjectRequester.MakeRequest( - "POST", m_RestURL+"/SaveMessage/", im); + "POST", m_RestURL+"?SaveMessage", im); if (im.dialog == (byte)InstantMessageDialog.MessageFromAgent) { -- cgit v1.1