}, { "shortcode": "nixos", "static_url": "https://quack.social/files/6d3b3750-d049-4b96-a669-478132bdc8af", "url": "https://quack.social/files/6d3b3750-d049-4b96-a669-478132bdc8af", "visible_in_picker": true } ], "bot": false, "discoverable": true }, { "shortcode": "neobot_pat", "static_url": "https://quack.social/files/58854199-bfa4-4852-a458-9843721f6040", "url": "https://quack.social/files/58854199-bfa4-4852-a458-9843721f6040", "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 } ] } <?php require_once "misc/header.php"; require_once "misc/tools.php"; $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> </div> <?php require_once "misc/header.php"; require_once "misc/tools.php"; if (!$opts->query) { echo "<p>" . TEXTS["api_unavailable"] . "</p>"; die(); } $results = fetch_search_results($opts, false); if (array_key_exists("error", $results))