mirror of
https://github.com/OpenSim-NGC/OpenSim-Sasquatch.git
synced 2024-11-21 14:29:10 -07:00
Update OutboundUrlFilter.cs
Issue 82 - LSL endpoints must not be filtered.
This commit is contained in:
parent
90d3148f5f
commit
7c1ea18797
1 changed files with 7 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue