mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
fixes #667, check $_GET['page'] to avoid XSS
This can be an issue only on Internet Explorer
This commit is contained in:
parent
3ae62ce118
commit
4310fe7a55
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ trigger_notify('loc_begin_admin');
|
|||
|
||||
check_status(ACCESS_ADMINISTRATOR);
|
||||
|
||||
check_input_parameter('page', $_GET, false, '/^[a-zA-Z\d_-]+$/');
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Direct actions |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue