Update OutboundUrlFilter.cs

Issue 82 - LSL endpoints must not be filtered.
This commit is contained in:
Rene Vega 2024-08-10 13:40:27 -07:00 committed by GitHub
parent 90d3148f5f
commit 7c1ea18797
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);