summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2014-04-08 17:12:28 +0200
committerUrban Müller2014-04-08 17:12:28 +0200
commit3302890ba7006b9090229f77422518f51d4c9667 (patch)
tree0791bda9969f8eb61083222907fbc246eeb03bbb
parent326ac6b999b0a12a4da71e88b14a3011b4b2afb4 (diff)
downloaditools-3302890ba7006b9090229f77422518f51d4c9667.tar.gz
itools-3302890ba7006b9090229f77422518f51d4c9667.tar.bz2
itools-3302890ba7006b9090229f77422518f51d4c9667.zip
no safety in it_url::get when called from get_cache for backwards compatibility
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
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'])