mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-04 00:58:53 +00:00
validation
git-svn-id: file:///svn/phpbb/trunk@7921 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ec1da5b1fd
commit
088874004d
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ if (!empty($load_extensions))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$sid = (isset($_GET['sid'])) ? htmlspecialchars($_GET['sid']) : '';
|
$sid = (isset($_GET['sid']) && !is_array($_GET['sid'])) ? htmlspecialchars($_GET['sid']) : '';
|
||||||
$id = (isset($_GET['id'])) ? intval($_GET['id']) : 0;
|
$id = (isset($_GET['id'])) ? intval($_GET['id']) : 0;
|
||||||
|
|
||||||
if (strspn($sid, 'abcdefABCDEF0123456789') !== strlen($sid))
|
if (strspn($sid, 'abcdefABCDEF0123456789') !== strlen($sid))
|
||||||
|
|
Loading…
Add table
Reference in a new issue