mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
git-svn-id: file:///svn/phpbb/trunk@7885 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
3585dbd42c
commit
5a921c344d
2 changed files with 2 additions and 1 deletions
|
@ -234,6 +234,7 @@ p a {
|
||||||
<li>[Feature] Show resulting permission alone in trace window (Bug #10953) - thanks to dark/rain for the proposal</li>
|
<li>[Feature] Show resulting permission alone in trace window (Bug #10953) - thanks to dark/rain for the proposal</li>
|
||||||
<li>[Fix] Fixed bug in realpath replacement letting it actually work again</li>
|
<li>[Fix] Fixed bug in realpath replacement letting it actually work again</li>
|
||||||
<li>[Change] Try to be a bit more specific regarding global/local permission trace (Bug #11032)</li>
|
<li>[Change] Try to be a bit more specific regarding global/local permission trace (Bug #11032)</li>
|
||||||
|
<li>[Fix] Fixed some strangeness in password validation due to mb_ereg()</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -1500,7 +1500,7 @@ function validate_password($password)
|
||||||
{
|
{
|
||||||
foreach ($chars as $char)
|
foreach ($chars as $char)
|
||||||
{
|
{
|
||||||
if (!mb_ereg_match($char, $password))
|
if (mb_ereg($char, $password) === false)
|
||||||
{
|
{
|
||||||
return 'INVALID_CHARS';
|
return 'INVALID_CHARS';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue