mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
validation
git-svn-id: file:///svn/phpbb/trunk@7921 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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;
|
||||
|
||||
if (strspn($sid, 'abcdefABCDEF0123456789') !== strlen($sid))
|
||||
|
Reference in New Issue
Block a user