net/haproxy: add missing spaces after del-header, fixes #882

This commit is contained in:
Frank Wall
2018-11-09 10:47:07 +01:00
parent d3fae3386c
commit 105adb8161
@@ -373,7 +373,7 @@
{% endif %}
{% elif action_data.type == 'http-request_del-header' %}
{% if action_data.http_request_del_header_name|default("") != "" %}
{% do action_options.append('http-request del-header' ~ action_data.http_request_del_header_name) %}
{% do action_options.append('http-request del-header ' ~ action_data.http_request_del_header_name) %}
{% else %}
{% set action_enabled = '0' %}
# ERROR: missing parameters
@@ -426,7 +426,7 @@
{% endif %}
{% elif action_data.type == 'http-response_del-header' %}
{% if action_data.http_response_del_header_name|default("") != "" %}
{% do action_options.append('http-response del-header' ~ action_data.http_response_del_header_name) %}
{% do action_options.append('http-response del-header ' ~ action_data.http_response_del_header_name) %}
{% else %}
{% set action_enabled = '0' %}
# ERROR: missing parameters