mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 11:26:13 +00:00
(proxy) fix typo
This commit is contained in:
parent
731ae4cb3d
commit
3df396e9b7
@ -96,7 +96,7 @@ acl bannedHosts src {{ip}}
|
||||
{% if helpers.exists('OPNsense.proxy.forward.acl.whiteList') %}
|
||||
# ALC - Whitelist - User defined (whiteList)
|
||||
{% for element in OPNsense.proxy.forward.acl.whiteList.split(",") %}
|
||||
{% if ('^' or '\' or '$' or '[') in element %}
|
||||
{% if ('^' or '\\' or '$' or '[') in element %}
|
||||
acl whiteList url_regex {{element}}
|
||||
{% else %}
|
||||
acl whiteList url_regex {{element|replace(".","\.")}}
|
||||
@ -107,7 +107,7 @@ acl whiteList url_regex {{element|replace(".","\.")}}
|
||||
|
||||
# ALC - Blacklist - User defined (blackList)
|
||||
{% for element in OPNsense.proxy.forward.acl.blackList.split(",") %}
|
||||
{% if ('^' or '\' or '$' or '[') in element %}
|
||||
{% if ('^' or '\\' or '$' or '[') in element %}
|
||||
acl blackList url_regex {{element}}
|
||||
{% else %}
|
||||
acl blackList url_regex {{element|replace(".","\.")}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user