diff options
author | Melanie Thielker | 2010-07-03 07:09:27 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-07-03 07:09:27 +0200 |
commit | 721d8a72987cea267ce9d32dfb91a288019107b2 (patch) | |
tree | 782a885c1dd31cf1ea5aad5fd5bf2bae05acd9b3 /OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | |
parent | Call client.Start() sunchronously. Calling thos async avoids some stuttering (diff) | |
download | opensim-SC-721d8a72987cea267ce9d32dfb91a288019107b2.zip opensim-SC-721d8a72987cea267ce9d32dfb91a288019107b2.tar.gz opensim-SC-721d8a72987cea267ce9d32dfb91a288019107b2.tar.bz2 opensim-SC-721d8a72987cea267ce9d32dfb91a288019107b2.tar.xz |
Re-add the slashes at the end of the URL. Too much depends on them
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs index f8cb414..9b565ed 100644 --- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | |||
@@ -142,7 +142,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp | |||
142 | engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_DENIED", "" }); | 142 | engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_DENIED", "" }); |
143 | return urlcode; | 143 | return urlcode; |
144 | } | 144 | } |
145 | string url = "http://" + m_ExternalHostNameForLSL + ":" + m_HttpServer.Port.ToString() + "/lslhttp/" + urlcode.ToString(); | 145 | string url = "http://" + m_ExternalHostNameForLSL + ":" + m_HttpServer.Port.ToString() + "/lslhttp/" + urlcode.ToString() + "/"; |
146 | 146 | ||
147 | UrlData urlData = new UrlData(); | 147 | UrlData urlData = new UrlData(); |
148 | urlData.hostID = host.UUID; | 148 | urlData.hostID = host.UUID; |
@@ -155,7 +155,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp | |||
155 | 155 | ||
156 | m_UrlMap[url] = urlData; | 156 | m_UrlMap[url] = urlData; |
157 | 157 | ||
158 | string uri = "/lslhttp/" + urlcode.ToString(); | 158 | string uri = "/lslhttp/" + urlcode.ToString() + "/"; |
159 | 159 | ||
160 | m_HttpServer.AddPollServiceHTTPHandler(uri,HandleHttpPoll, | 160 | m_HttpServer.AddPollServiceHTTPHandler(uri,HandleHttpPoll, |
161 | new PollServiceEventArgs(HttpRequestHandler,HasEvents, GetEvents, NoEvents, | 161 | new PollServiceEventArgs(HttpRequestHandler,HasEvents, GetEvents, NoEvents, |