ensure key is cast to string, fixes #1435

This commit is contained in:
El RIDO 2024-10-23 08:23:02 +02:00
parent 93a2b97d69
commit cf83e3825f
2 changed files with 2 additions and 0 deletions

View file

@ -83,6 +83,7 @@ class Request
{
foreach ($_GET as $key => $value) {
// only return if value is empty and key is 16 hex chars
$key = (string) $key;
if (($value === '') && strlen($key) === 16 && ctype_xdigit($key)) {
return $key;
}