diff options
author | javiexin <javiexin@gmail.com> | 2017-05-21 12:58:05 +0200 |
---|---|---|
committer | javiexin <javiexin@gmail.com> | 2017-05-21 12:58:05 +0200 |
commit | 1d5f5ccffcfd30a652734485b51066950bbb8a76 (patch) | |
tree | 0b4bb4651a6fee88f14c9d7584a9584c31ccfafd /phpBB/phpbb/passwords/driver | |
parent | c2c5c20c319d397948218b4c342fb146bf15040b (diff) | |
download | forums-1d5f5ccffcfd30a652734485b51066950bbb8a76.tar forums-1d5f5ccffcfd30a652734485b51066950bbb8a76.tar.gz forums-1d5f5ccffcfd30a652734485b51066950bbb8a76.tar.bz2 forums-1d5f5ccffcfd30a652734485b51066950bbb8a76.tar.xz forums-1d5f5ccffcfd30a652734485b51066950bbb8a76.zip |
[ticket/15227] Remove STRIP, as always false
PHPBB3-15227
Diffstat (limited to 'phpBB/phpbb/passwords/driver')
-rw-r--r-- | phpBB/phpbb/passwords/driver/md5_phpbb2.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/passwords/driver/md5_phpbb2.php b/phpBB/phpbb/passwords/driver/md5_phpbb2.php index bd8cc51e5a..b38b041d6c 100644 --- a/phpBB/phpbb/passwords/driver/md5_phpbb2.php +++ b/phpBB/phpbb/passwords/driver/md5_phpbb2.php @@ -95,7 +95,7 @@ class md5_phpbb2 extends base // in phpBB2 passwords were used exactly as they were sent, with addslashes applied $password_old_format = isset($_REQUEST['password']) ? (string) $_REQUEST['password'] : ''; - $password_old_format = (!STRIP) ? addslashes($password_old_format) : $password_old_format; + $password_old_format = addslashes($password_old_format); $password_new_format = $this->request->variable('password', '', true); if ($super_globals_disabled) |