Commit 66265c97 authored by Jos Schellevis's avatar Jos Schellevis

Proxy work in progress, fix topy

parent d9198af6
...@@ -80,7 +80,7 @@ acl bannedHosts src {{ip}} ...@@ -80,7 +80,7 @@ acl bannedHosts src {{ip}}
{% if ('^' or '\\' or '$' or '[') in element %} {% if ('^' or '\\' or '$' or '[') in element %}
acl whiteList url_regex {{element}} acl whiteList url_regex {{element}}
{% else %} {% else %}
acl whiteList url_regex .+{{element|replace(".","\."}} acl whiteList url_regex .+{{element|replace(".","\.")}}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
...@@ -91,7 +91,7 @@ acl whiteList url_regex .+{{element|replace(".","\."}} ...@@ -91,7 +91,7 @@ acl whiteList url_regex .+{{element|replace(".","\."}}
{% if ('^' or '\\' or '$' or '[') in element %} {% if ('^' or '\\' or '$' or '[') in element %}
acl blackList url_regex {{element}} acl blackList url_regex {{element}}
{% else %} {% else %}
acl blackList url_regex .+{{element|replace(".","\."}} acl blackList url_regex .+{{element|replace(".","\.")}}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment