From 381f6dc8a6d0d5870943767265e67bf262852480 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Tue, 16 Dec 2014 11:46:51 -0500 Subject: Remove duplicated phrase from LibHTP policy string. --- config/suricata/suricata_generate_yaml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/suricata/suricata_generate_yaml.php') diff --git a/config/suricata/suricata_generate_yaml.php b/config/suricata/suricata_generate_yaml.php index 1ace4044..328702b9 100644 --- a/config/suricata/suricata_generate_yaml.php +++ b/config/suricata/suricata_generate_yaml.php @@ -579,7 +579,7 @@ $http_hosts_default_policy = ""; if (!is_array($suricatacfg['libhtp_policy']['item'])) $suricatacfg['libhtp_policy']['item'] = array(); if (count($suricatacfg['libhtp_policy']['item']) < 1) { - $http_hosts_default_policy = "default-config:\n personality: IDS\n request-body-limit: 4096\n response-body-limit: 4096\n"; + $http_hosts_default_policy = " personality: IDS\n request-body-limit: 4096\n response-body-limit: 4096\n"; $http_hosts_default_policy .= " double-decode-path: no\n double-decode-query: no\n uri-include-all: no\n"; } else { -- cgit v1.2.3