From 9c4f36c8587990f3f8b014cea8271327767a8a02 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 20 Nov 2025 17:51:52 +0100 Subject: add FIXME for assoc mode cleanup --- it_url.class | 1 + 1 file changed, 1 insertion(+) (limited to 'it_url.class') 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']) -- cgit v1.2.3