[ticket/security-164] Correctly format page_name

SECURITY-164
This commit is contained in:
Marc Alexander 2014-11-01 22:02:47 +01:00
parent 28ef238a5c
commit f534503a66

View file

@ -87,7 +87,7 @@ class session
$symfony_request_path = $phpbb_filesystem->clean_path($symfony_request->getPathInfo());
if ($symfony_request_path !== '/')
{
$page_name .= $symfony_request_path;
$page_name .= str_replace('%2F', '/', urlencode($symfony_request_path));
}
// current directory within the phpBB root (for example: adm)