From b27ad1190a1a6360a9b61c488a9843f66d42125d Mon Sep 17 00:00:00 2001 From: doktornotor Date: Wed, 30 Sep 2015 15:24:26 +0200 Subject: Do not leave orphaned cache dirs if harddisk_cache_location changed The old cache dir will ONLY get deleted when located under /var/squid/ to prevent nasty accidents. --- config/squid3/34/squid_cache.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'config/squid3/34') diff --git a/config/squid3/34/squid_cache.xml b/config/squid3/34/squid_cache.xml index a5e73f80..2045005c 100755 --- a/config/squid3/34/squid_cache.xml +++ b/config/squid3/34/squid_cache.xml @@ -403,10 +403,40 @@ base64 + + + squid_validate_cache($_POST, $input_errors); + -- cgit v1.2.3