container and dev preparations
Some checks failed
ci / docker (push) Failing after 11m20s

This commit is contained in:
2025-06-10 10:39:47 +02:00
parent fbe7613f97
commit 469ef7f5ea
7 changed files with 48 additions and 17 deletions

View File

@ -23,6 +23,12 @@ switch($url[0])
$target = substr($_SERVER['REQUEST_URI'],5);
if(!$target || !filter_var($target, FILTER_VALIDATE_URL))
$target = $_REQUEST['url'];
if(!filter_var($target, FILTER_VALIDATE_URL))
{
header('HTTP/1.0 400 Bad Request');
echo 'Invalid URL';
exit;
}
$viewport = $_REQUEST['viewport'];
$js = $_REQUEST['js']=='false'?false:true;