From 5a921c344d6c7f6b68944914fffaf1f8d4888693 Mon Sep 17 00:00:00 2001 From: David M Date: Sat, 14 Jul 2007 15:48:54 +0000 Subject: [PATCH] #13225 git-svn-id: file:///svn/phpbb/trunk@7885 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/docs/CHANGELOG.html | 1 + phpBB/includes/functions_user.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 0f7d8e7125..cbd138a0bc 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -234,6 +234,7 @@ p a {
  • [Feature] Show resulting permission alone in trace window (Bug #10953) - thanks to dark/rain for the proposal
  • [Fix] Fixed bug in realpath replacement letting it actually work again
  • [Change] Try to be a bit more specific regarding global/local permission trace (Bug #11032)
  • +
  • [Fix] Fixed some strangeness in password validation due to mb_ereg()
  • diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 46ea90fa3a..8750ca91a0 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -1500,7 +1500,7 @@ function validate_password($password) { foreach ($chars as $char) { - if (!mb_ereg_match($char, $password)) + if (mb_ereg($char, $password) === false) { return 'INVALID_CHARS'; }