summaryrefslogtreecommitdiff
path: root/api/v1/images.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-05-16 17:22:49 -0400
committerlolcat <will@lolcat.ca>2024-05-16 17:22:49 -0400
commit0d98d7839d1c3da75b95ef29ce12ef54a2a20094 (patch)
treec51d5a0dcfc99d91211b65ed9692974305a72c90 /api/v1/images.php
parentf8d46df1e858401d93c5fa885777113994a03c86 (diff)
added greppr support also btw im not dead
Diffstat (limited to 'api/v1/images.php')
-rw-r--r--api/v1/images.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/v1/images.php b/api/v1/images.php
index 348dda7..de2c5a9 100644
--- a/api/v1/images.php
+++ b/api/v1/images.php
@@ -30,7 +30,7 @@ $get = $frontend->parsegetfilters($_GET, $filters);
try{
echo json_encode(
$scraper->image($get),
- JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES
+ JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_INVALID_UTF8_IGNORE
);
}catch(Exception $e){