From 68cf9d6853114abf25656dada11e066389ad0055 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Wed, 20 Aug 2008 18:41:55 +0000 Subject: after squid package installation the service does not start because the uri_whitespace-parameter is not set... fixed... --- packages/squid/squid.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/squid') diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc index 75486a9f..752be9c0 100644 --- a/packages/squid/squid.inc +++ b/packages/squid/squid.inc @@ -561,7 +561,8 @@ EOD; if ($settings['disable_xforward']) $conf .= "forwarded_for off\n"; if ($settings['disable_via']) $conf .= "via off\n"; if ($settings['disable_squidversion']) $conf .= "httpd_suppress_version_string on\n"; - $conf .= "uri_whitespace {$settings['uri_whitespace']}\n"; + if (empty($settings['uri_whitespace'])) $conf .= "uri_whitespace strip\n"; + else $conf .= "uri_whitespace {$settings['uri_whitespace']}\n"; if(!empty($settings['dns_nameservers'])) { $altdns = explode(";", ($settings['dns_nameservers'])); -- cgit v1.2.3