X-Git-Url: https://git.cweiske.de/stouyapi.git/blobdiff_plain/d648b848012e6eb3a528e6b295b0ee6d0515332e..f426e1fda0d54aef2ea4b1efcaf4f579dc319e02:/www/api/v1/queued_downloads_delete.php diff --git a/www/api/v1/queued_downloads_delete.php b/www/api/v1/queued_downloads_delete.php index 43f7440..6517adc 100644 --- a/www/api/v1/queued_downloads_delete.php +++ b/www/api/v1/queued_downloads_delete.php @@ -21,7 +21,7 @@ if ($ip == '') { $ip = mapIp($ip); $game = $_GET['game']; -$cleanGame = preg_replace('#[^a-zA-Z0-9.]#', '', $game); +$cleanGame = preg_replace('#[^a-zA-Z0-9._]#', '', $game); if ($game != $cleanGame || $game == '') { header('HTTP/1.0 400 Bad Request'); header('Content-type: text/plain');