diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-12-21 20:08:00 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-12-21 20:08:00 +0100 |
commit | d9358c26da6737044a3c10893e7b954176b205d2 (patch) | |
tree | 69be68f104f4e7bf2627debce6faa83b95ab60c3 /phpBB/includes | |
parent | 235d2069e0e7cecfd51d4eed5c875cc865f35486 (diff) | |
download | forums-d9358c26da6737044a3c10893e7b954176b205d2.tar forums-d9358c26da6737044a3c10893e7b954176b205d2.tar.gz forums-d9358c26da6737044a3c10893e7b954176b205d2.tar.bz2 forums-d9358c26da6737044a3c10893e7b954176b205d2.tar.xz forums-d9358c26da6737044a3c10893e7b954176b205d2.zip |
[ticket/11997] Add clean_url() method to path_helper
This method will get rid of unnecessary . and .. in URLs.
PHPBB3-11997
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 4c9c3323f7..aea13f7679 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2777,7 +2777,7 @@ function redirect($url, $return = false, $disable_cd_check = false) $url = (!empty($dir) ? $dir . '/' : '') . $url; $url = generate_board_url() . '/' . $url; } - $url = $phpbb_filesystem->clean_path($url); + $url = $phpbb_path_helper->clean_url($url);; } } |