mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 03:09:58 +03:00
fixes #1911 check url input parameter
This commit is contained in:
parent
b9758356dc
commit
061d80b921
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@
|
||||||
|
|
||||||
if( !defined("PHPWG_ROOT_PATH") ) die ("Hacking attempt!");
|
if( !defined("PHPWG_ROOT_PATH") ) die ("Hacking attempt!");
|
||||||
|
|
||||||
|
check_input_parameter('user_id', $_GET, false, PATTERN_ID);
|
||||||
|
|
||||||
$edit_user = build_user( $_GET['user_id'], false );
|
$edit_user = build_user( $_GET['user_id'], false );
|
||||||
|
|
||||||
if (!empty($_POST))
|
if (!empty($_POST))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue