From efa21156f32c3e7919e53d69473276e63ff7f512 Mon Sep 17 00:00:00 2001 From: Jeff Kelley Date: Wed, 16 Mar 2016 18:14:25 +0100 Subject: [PATCH] Implement Access-Control-Allow-Origin for HTTP LSL server --- OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs index ad22ec87be..fffd64097b 100644 --- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs @@ -558,6 +558,8 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp response["content_type"] = requestData.responseType; response["keepalive"] = false; response["reusecontext"] = false; + + response["access_control_allow_origin"] = "*"; //remove from map lock (url.requests)