mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
bug 2611 fixed: check $_GET['section'] input parameter
git-svn-id: http://piwigo.org/svn/branches/2.3@13957 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -35,6 +35,9 @@ include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
|
||||
check_status(ACCESS_ADMINISTRATOR);
|
||||
|
||||
//-------------------------------------------------------- sections definitions
|
||||
|
||||
check_input_parameter('section', $_GET, false, '/^[a-z]+$/i');
|
||||
|
||||
if (!isset($_GET['section']))
|
||||
{
|
||||
$page['section'] = 'main';
|
||||
|
||||
Reference in New Issue
Block a user