mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/security-164] Correctly format page_name
SECURITY-164
This commit is contained in:
parent
28ef238a5c
commit
f534503a66
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue