1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-07 08:05:25 +02:00

[ticket/10370] Call htmlspecialchars() after phpbb_filter_root_path().

PHPBB3-10370
This commit is contained in:
Andreas Fischer 2011-09-19 17:20:11 +02:00
parent 8a84f42f7d
commit 19ce73c884

View File

@ -3407,8 +3407,7 @@ function get_backtrace()
$argument = '';
if (!empty($trace['args'][0]) && in_array($trace['function'], array('include', 'require', 'include_once', 'require_once')))
{
$argument = htmlspecialchars($trace['args'][0]);
$argument = phpbb_filter_root_path($argument);
$argument = htmlspecialchars(phpbb_filter_root_path($trace['args'][0]));
}
$trace['class'] = (!isset($trace['class'])) ? '' : $trace['class'];