summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_url.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/it_url.class b/it_url.class
index fe3daa1..e2c0e13 100644
--- a/it_url.class
+++ b/it_url.class
@@ -639,6 +639,7 @@ static function get_cache($p = array())
if ($p['assoc'] ? ($data['status'] < 500 || $data['data']) : $data)
{
$success = true;
+ # FIXME 2026-02 UM json_encode fails on iso-latin content. use separate file for metadata
$isnewfile = it_url::_atomicwrite($path, $p['assoc'] ? ($data['status'] === 304 ? true : it::json_encode($data)) : $data); # $data === true means not modified (no new data fetched) and instructs _atomicwrite to just touch the file
}
else if ($p['keepfailed'])