summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2022-10-26 16:42:35 +0200
committerUrban Müller2022-10-26 16:42:35 +0200
commitc3a0b03960790b799eb6b49d91851afe3ce3636a (patch)
tree49be7799db2ed821dc31125690df748f78dd58ce
parent11e1af746b89e76eed40d1dd15f986964786ef2b (diff)
downloaditools-c3a0b03960790b799eb6b49d91851afe3ce3636a.tar.gz
itools-c3a0b03960790b799eb6b49d91851afe3ce3636a.tar.bz2
itools-c3a0b03960790b799eb6b49d91851afe3ce3636a.zip
fix typo
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 1c1a21c..b2dad3c 100644
--- a/it_url.class
+++ b/it_url.class
@@ -557,7 +557,7 @@ static function get_cache_filename($p)
$p = array('url' => $p);
$p['cachedir'] = it_url::get_cache_dir($p);
- unset($p['headers']['Authorization']); # prevent ever changing filenames to changing Bearer tokens
+ unset($p['headers']['Authorization']); # prevent ever changing filenames due to changing Bearer tokens
$filename = $p['cachefilename'] ?: md5(T_lang() . T_defaultlang() . $p['url'] . ($p['headers'] ? serialize($p['headers']) : "") . ($p['data'] ? serialize($p['data']) : ""));
return $p['cachedir'] . "/" . substr($filename, 0, 2) . "/$filename";