diff options
author | Melanie Thielker | 2016-03-16 20:04:52 +0100 |
---|---|---|
committer | Melanie Thielker | 2016-03-16 20:04:52 +0100 |
commit | e8b46023e47399e9dcc0057a4380ca4fe49908ee (patch) | |
tree | aa384c79130605f8e5740f689a81226cc47f9335 /OpenSim/Region/Framework/Interfaces/IUrlModule.cs | |
parent | Implement Access-Control-Allow-Origin for HTTP LSL server (diff) | |
download | opensim-SC-e8b46023e47399e9dcc0057a4380ca4fe49908ee.zip opensim-SC-e8b46023e47399e9dcc0057a4380ca4fe49908ee.tar.gz opensim-SC-e8b46023e47399e9dcc0057a4380ca4fe49908ee.tar.bz2 opensim-SC-e8b46023e47399e9dcc0057a4380ca4fe49908ee.tar.xz |
Add osRequestURL and osRequestSecureURL with an options list.
Only currently supported option is "allowXss" which will send the needed
Access-control-allow-origin: * header to allow xss scripting against
the LSL http server.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IUrlModule.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IUrlModule.cs b/OpenSim/Region/Framework/Interfaces/IUrlModule.cs index 79e9f9d..2987184 100644 --- a/OpenSim/Region/Framework/Interfaces/IUrlModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IUrlModule.cs | |||
@@ -25,6 +25,7 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.Collections; | ||
28 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
29 | using OpenMetaverse; | 30 | using OpenMetaverse; |
30 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
@@ -35,8 +36,8 @@ namespace OpenSim.Region.Framework.Interfaces | |||
35 | public interface IUrlModule | 36 | public interface IUrlModule |
36 | { | 37 | { |
37 | string ExternalHostNameForLSL { get; } | 38 | string ExternalHostNameForLSL { get; } |
38 | UUID RequestURL(IScriptModule engine, SceneObjectPart host, UUID itemID); | 39 | UUID RequestURL(IScriptModule engine, SceneObjectPart host, UUID itemID, Hashtable options); |
39 | UUID RequestSecureURL(IScriptModule engine, SceneObjectPart host, UUID itemID); | 40 | UUID RequestSecureURL(IScriptModule engine, SceneObjectPart host, UUID itemID, Hashtable options); |
40 | void ReleaseURL(string url); | 41 | void ReleaseURL(string url); |
41 | void HttpResponse(UUID request, int status, string body); | 42 | void HttpResponse(UUID request, int status, string body); |
42 | void HttpContentType(UUID request, string type); | 43 | void HttpContentType(UUID request, string type); |