diff options
author | Kevin Cozens | 2013-10-22 15:43:18 -0400 |
---|---|---|
committer | Kevin Cozens | 2014-03-22 15:13:03 -0400 |
commit | fe16a72a9a10c5b9057351f798d9098ada3002ae (patch) | |
tree | 16bd081da49c4e989baed949b2a7683b0024f0fd | |
parent | Set default name for mute list module as shown in OpenSim.ini.example (diff) | |
download | opensim-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.
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs | 4 |
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 | { |