svn: /pear/pearweb/trunk/include/ pear-database-user.php

[email protected] (Till Klampaeckel) Sun, 27 Mar 2011 01:38:11 +0000
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
till                                     Sun, 27 Mar 2011 01:38:11 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=309726

Log:
* bugfix for #18294

Bug: http://pear.php.net/bugs/18294 (unknown) 
      
Changed paths:
    U   pear/pearweb/trunk/include/pear-database-user.php

Modified: pear/pearweb/trunk/include/pear-database-user.php
===================================================================
--- pear/pearweb/trunk/include/pear-database-user.php	2011-03-27 00:34:53 UTC (rev 309725)
+++ pear/pearweb/trunk/include/pear-database-user.php	2011-03-27 01:38:11 UTC (rev 309726)
@@ -169,7 +169,7 @@
             return $row;
         }

-        if (($field == 'password' && $hidePassword) || preg_match('/[^a-z]/', $user)) {
+        if (($field == 'password' && $hidePassword) || preg_match('/[^0-9a-z]/', $user)) {
             return null;
         }