smudge

$url = $_REQUEST["url"]; $requested_root_domain = get_root_domain($url); $allowed_domains = array("i.ytimg.com", "s2.qwant.com", "s1.qwant.com", "upload.wikimedia.org"); if (in_array($requested_root_domain, $allowed_domains)) { $image = $url; $image_src = request($image, $config->curl_settings); header("Content-Type: image/png"); echo $image_src; } ?> </div> </form> <?php require_once "misc/footer.php"; ?> { "instances": [ { "shortcode": "gentowo", "static_url": "https://quack.social/files/fca4f0e1-298d-4fdd-8541-2ef673e9bc11", "url": "https://quack.social/files/fca4f0e1-298d-4fdd-8541-2ef673e9bc11", "visible_in_picker": true } ], "tags": [], "card": null, "poll": null, "application": null, "language": null, "pinned": false, "reactions": [], "emoji_reactions": [], "bookmarked": false, "quote": null, "edited_at": null }, { "shortcode": "neocat_hug_ice_3", "static_url": "https://quack.social/files/74bbed87-4740-4b4f-8789-31088f84f25e", "url": "https://quack.social/files/74bbed87-4740-4b4f-8789-31088f84f25e", "visible_in_picker": true }, { "shortcode": "gentowo", "static_url": "https://quack.social/files/fca4f0e1-298d-4fdd-8541-2ef673e9bc11", "url": "https://quack.social/files/fca4f0e1-298d-4fdd-8541-2ef673e9bc11", "visible_in_picker": true }, "in_reply_to_id": "a4ubryo0fhhs11hr", "in_reply_to_account_id": "9x2iyutvvwg20bj0", "reblog": null, "content": "<p><span class="h-card" translate="no"><a href="https://eldritch.cafe/@SharpLimefox" class="u-url mention">@<span>SharpLimefox</span></a></span><span> Biblically accurate UserAgent header</span></p>", "content_type": "text/x.misskeymarkdown", "text": "ah yes, building