aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid/squid.inc
diff options
context:
space:
mode:
authorMartin Fuchs <mfuchs@pfsense.org>2007-07-23 21:59:40 +0000
committerMartin Fuchs <mfuchs@pfsense.org>2007-07-23 21:59:40 +0000
commit7debb16f81abac7c61921b933a0492ea3b026e3c (patch)
treee5979faf6acc62488022931350f7dfb251739fc2 /packages/squid/squid.inc
parentd6f7f30d3341de6f88e37348d40add76d0422d0a (diff)
downloadpfsense-packages-7debb16f81abac7c61921b933a0492ea3b026e3c.tar.gz
pfsense-packages-7debb16f81abac7c61921b933a0492ea3b026e3c.tar.bz2
pfsense-packages-7debb16f81abac7c61921b933a0492ea3b026e3c.zip
add uri whitespace handling to squid
Diffstat (limited to 'packages/squid/squid.inc')
-rw-r--r--packages/squid/squid.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc
index 147daf16..e586ba6c 100644
--- a/packages/squid/squid.inc
+++ b/packages/squid/squid.inc
@@ -505,7 +505,8 @@ EOD;
}
if ($settings['disable_xforward']) $conf .= "forwarded_for off\n";
if ($settings['disable_via']) $conf .= "via off\n";
- return $conf;
+ if (!empty($settings['uri_whitespace'])) $conf .= "uri_whitespace {$settings['uri_whitespace']}\n";
+ return $conf;
}
function squid_resync_cache() {