mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
bug 1484: prevent XSS vulnerability, encode url.
improvement: no need to transmit the REQUEST_URI from PHP, Smarty already knows it. git-svn-id: http://piwigo.org/svn/trunk@5990 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -134,7 +134,6 @@ class BlockManager
|
||||
global $template;
|
||||
|
||||
$template->set_filename('menubar', $file);
|
||||
$template->assign(array('U_REDIRECT' => $_SERVER['REQUEST_URI']));
|
||||
trigger_action('blockmanager_apply', array(&$this) );
|
||||
|
||||
foreach( $this->display_blocks as $id=>$block)
|
||||
|
||||
Reference in New Issue
Block a user