From c8564e6ce98980143c42a67b51b0c8327cfc12b5 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sun, 18 Sep 2011 22:41:02 +0200 Subject: [PATCH] [ticket/10369] Add warning about paths outside of phpBB root not being filtered PHPBB3-10369 --- phpBB/includes/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index cd856f55a7..2e445192ae 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4001,6 +4001,8 @@ function msg_handler($errno, $msg_text, $errfile, $errline) * * @param string $errfile Absolute file path * (e.g. /var/www/phpbb3/phpBB/includes/functions.php) +* Please note that if $errfile is outside of the phpBB root, +* the root path will not be found and can not be filtered. * @return string Relative file path * (e.g. /includes/functions.php) */