From 3302890ba7006b9090229f77422518f51d4c9667 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 8 Apr 2014 17:12:28 +0200 Subject: no safety in it_url::get when called from get_cache for backwards compatibility --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_url.class') diff --git a/it_url.class b/it_url.class index 99fa395..0db934e 100644 --- a/it_url.class +++ b/it_url.class @@ -543,7 +543,7 @@ function get_cache($p = array()) EDC('getcache', "new", $filemtime, $p['url'], $path); $url = new it_url; - if ($result = $url->get($p + array('filemtime' => EDC('nocache') ? null : $filemtime))) # => true means not modified (no new data fetched) + if ($result = $url->get(array('safety' => 0) + $p + array('filemtime' => EDC('nocache') ? null : $filemtime))) # => true means not modified (no new data fetched) { $newfile = it_url::_atomicwrite($path, $result); if ($p['returnheaders']) -- cgit v1.2.3