aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/controller
diff options
context:
space:
mode:
authorMate Bartus <mate.bartus@gmail.com>2015-07-24 00:04:40 +0200
committerMate Bartus <mate.bartus@gmail.com>2015-07-24 00:04:40 +0200
commitcb593c0e04fc9f3318443fe42b596d27498729c3 (patch)
treeeada04cac4874ecdcb7dc43f2b6b8200c54a9903 /phpBB/phpbb/install/controller
parent27d2d58e0529172de7d0403292bc10842a45ef98 (diff)
downloadforums-cb593c0e04fc9f3318443fe42b596d27498729c3.tar
forums-cb593c0e04fc9f3318443fe42b596d27498729c3.tar.gz
forums-cb593c0e04fc9f3318443fe42b596d27498729c3.tar.bz2
forums-cb593c0e04fc9f3318443fe42b596d27498729c3.tar.xz
forums-cb593c0e04fc9f3318443fe42b596d27498729c3.zip
[ticket/13740] Filter basic directory change attempts in lang change
PHPBB3-13740
Diffstat (limited to 'phpBB/phpbb/install/controller')
-rw-r--r--phpBB/phpbb/install/controller/helper.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/install/controller/helper.php b/phpBB/phpbb/install/controller/helper.php
index f3400e6ef0..8530a0defe 100644
--- a/phpBB/phpbb/install/controller/helper.php
+++ b/phpBB/phpbb/install/controller/helper.php
@@ -191,7 +191,8 @@ class helper
$this->language_cookie = $lang;
}
- $lang = (!empty($lang)) ? $lang : null;
+ $lang = (!empty($lang) && strpos($lang, '/')) ? $lang : null;
+
$this->render_language_select($lang);
if ($lang !== null)