Pass method to offline.php using ?blah instead of /blah/. Avoids issue with Apache web servers running PHP via CGI.

0.8.0.3
Kevin Cozens 2013-10-22 15:43:18 -04:00
parent 58def34dbe
commit fe16a72a9a
1 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
List<GridInstantMessage> msglist
= SynchronousRestObjectRequester.MakeRequest<UUID, List<GridInstantMessage>>(
"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<GridInstantMessage, bool>(
"POST", m_RestURL+"/SaveMessage/", im);
"POST", m_RestURL+"?SaveMessage", im);
if (im.dialog == (byte)InstantMessageDialog.MessageFromAgent)
{