aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorKevin Cozens2013-10-22 15:43:18 -0400
committerKevin Cozens2014-03-22 15:13:03 -0400
commitfe16a72a9a10c5b9057351f798d9098ada3002ae (patch)
tree16bd081da49c4e989baed949b2a7683b0024f0fd /OpenSim
parentSet default name for mute list module as shown in OpenSim.ini.example (diff)
downloadopensim-SC-fe16a72a9a10c5b9057351f798d9098ada3002ae.zip
opensim-SC-fe16a72a9a10c5b9057351f798d9098ada3002ae.tar.gz
opensim-SC-fe16a72a9a10c5b9057351f798d9098ada3002ae.tar.bz2
opensim-SC-fe16a72a9a10c5b9057351f798d9098ada3002ae.tar.xz
Pass method to offline.php using ?blah instead of /blah/. Avoids issue with Apache web servers running PHP via CGI.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs4
1 files changed, 2 insertions, 2 deletions
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
179 179
180 List<GridInstantMessage> msglist 180 List<GridInstantMessage> msglist
181 = SynchronousRestObjectRequester.MakeRequest<UUID, List<GridInstantMessage>>( 181 = SynchronousRestObjectRequester.MakeRequest<UUID, List<GridInstantMessage>>(
182 "POST", m_RestURL + "/RetrieveMessages/", client.AgentId); 182 "POST", m_RestURL + "?RetrieveMessages", client.AgentId);
183 183
184 if (msglist == null) 184 if (msglist == null)
185 { 185 {
@@ -231,7 +231,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
231 scene = m_SceneList[0]; 231 scene = m_SceneList[0];
232 232
233 bool success = SynchronousRestObjectRequester.MakeRequest<GridInstantMessage, bool>( 233 bool success = SynchronousRestObjectRequester.MakeRequest<GridInstantMessage, bool>(
234 "POST", m_RestURL+"/SaveMessage/", im); 234 "POST", m_RestURL+"?SaveMessage", im);
235 235
236 if (im.dialog == (byte)InstantMessageDialog.MessageFromAgent) 236 if (im.dialog == (byte)InstantMessageDialog.MessageFromAgent)
237 { 237 {