aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid3
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squid3')
-rw-r--r--packages/squid3/squid.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/squid3/squid.inc b/packages/squid3/squid.inc
index f2378a22..763ed082 100644
--- a/packages/squid3/squid.inc
+++ b/packages/squid3/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']));