From 7c1ea187975cad969bc1d0cee67fc51c6d6d07d6 Mon Sep 17 00:00:00 2001 From: Rene Vega Date: Sat, 10 Aug 2024 13:40:27 -0700 Subject: [PATCH] Update OutboundUrlFilter.cs Issue 82 - LSL endpoints must not be filtered. --- OpenSim/Framework/OutboundUrlFilter.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/OpenSim/Framework/OutboundUrlFilter.cs b/OpenSim/Framework/OutboundUrlFilter.cs index 2e3cc2ca15..2dfe8b002b 100644 --- a/OpenSim/Framework/OutboundUrlFilter.cs +++ b/OpenSim/Framework/OutboundUrlFilter.cs @@ -239,7 +239,13 @@ namespace OpenSim.Framework { // m_log.DebugFormat("[OUTBOUND URL FILTER]: Found [{0}] in blacklist for {1}", url, Name); - // Check blacklist exceptions + // if the endpoint is destined to an LSL script, always allow. + if (url.indexOf("/lslhttp/") != -1) + { + return true; + } + + // Check blacklist exceptions for non-LSL exceptions allowed = OutboundUrlFilter.IsInNetwork( addr, url.Port, m_blacklistExceptionNetworks, m_blacklistExceptionEndPoints, Name);