working prototype, many features missing

This commit is contained in:
christian committed 2025-01-13 15:58:58 +00:00
1 parent 028a4b54f4
commit fbe7613f97
4 files changed
+13 -43

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ switch($url[0])
{
case 'api':
$target = substr($_SERVER['REQUEST_URI'],5);
if(!$target)
if(!$target || !filter_var($target, FILTER_VALIDATE_URL))
$target = $_REQUEST['url'];
$viewport = $_REQUEST['viewport'];
$js = $_REQUEST['js']=='false'?false:true;