mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-29 22:42:16 +02:00
Fixed: HTML vulnerability (Cross Site Scripting)
git-svn-id: http://piwigo.org/svn/trunk@1696 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -477,7 +477,7 @@ $template->assign_vars(
|
||||
'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=user_list',
|
||||
|
||||
'F_ADD_ACTION' => $base_url,
|
||||
'F_USERNAME' => @$_GET['username'],
|
||||
'F_USERNAME' => @htmlentities($_GET['username']),
|
||||
'F_FILTER_ACTION' => PHPWG_ROOT_PATH.'admin.php'
|
||||
));
|
||||
|
||||
|
||||
+2
-2
@@ -193,8 +193,8 @@ $template->assign_vars(
|
||||
'L_COMMENT_TITLE' => $title,
|
||||
|
||||
'F_ACTION'=>PHPWG_ROOT_PATH.'comments.php',
|
||||
'F_KEYWORD'=>@$_GET['keyword'],
|
||||
'F_AUTHOR'=>@$_GET['author'],
|
||||
'F_KEYWORD'=>@htmlentities($_GET['keyword']),
|
||||
'F_AUTHOR'=>@htmlentities($_GET['author']),
|
||||
|
||||
'U_HOME' => make_index_url(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user