www/nginx: #1374 - Fixes matching values in URLs using naxsi rules. (#1375)

* #1374: Added missing naxsi match zone "URL"
* #1374: Added missing value "<url>" to <naxsi_rule>
This commit is contained in:
jkellerer
2019-06-24 19:32:29 +02:00
committed by Fabian Franz BSc
parent a7390baa06
commit 313a976633
2 changed files with 6 additions and 0 deletions
@@ -533,6 +533,9 @@
<args type="BooleanField">
<Required>Y</Required>
</args>
<url type="BooleanField">
<Required>Y</Required>
</url>
<headers type="BooleanField">
<Required>Y</Required>
</headers>
@@ -7,6 +7,9 @@
{% if mz_helper_rule.args == '1' %}
{% do mz_matches.append('ARGS') %}
{% endif %}
{% if mz_helper_rule.url == '1' %}
{% do mz_matches.append('URL') %}
{% endif %}
{% if mz_helper_rule.headers == '1' %}
{% do mz_matches.append('HEADERS') %}
{% endif %}