cvs: pear /Text_Password Password.php

From: Date: Thu, 23 Dec 2004 12:22:59 +0000
Subject: cvs: pear /Text_Password Password.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-27782@lists.php.net to get a copy of this message
mj Thu Dec 23 07:22:59 2004 EDT Modified files: /pear/Text_Password Password.php Log: * Removed two characters from the list of allowed characters in unpronounceable passwords, because they are not available on all keyboard layouts. # Noticed by: Carsten Moehrke http://cvs.php.net/diff.php/pear/Text_Password/Password.php?r1=1.11&r2=1.12&ty=u Index: pear/Text_Password/Password.php diff -u pear/Text_Password/Password.php:1.11 pear/Text_Password/Password.php:1.12 --- pear/Text_Password/Password.php:1.11 Wed Oct 27 17:54:25 2004 +++ pear/Text_Password/Password.php Thu Dec 23 07:22:58 2004 @@ -17,7 +17,7 @@ // | Olivier Vanhoucke <olivier@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Password.php,v 1.11 2004/10/27 21:54:25 mj Exp $ +// $Id: Password.php,v 1.12 2004/12/23 12:22:58 mj Exp $ // /** @@ -199,6 +199,7 @@ } // No character must occur more than two times + $count = array(); $chars = preg_split("//", $password); foreach ($chars as $char) { if (empty($char)) { @@ -561,8 +562,8 @@ break; case '': - $chars = '_#@%£&çABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; - $_Text_Password_NumberOfPossibleCharacters = 69; + $chars = '_#@%&ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; + $_Text_Password_NumberOfPossibleCharacters = 67; break; default:

« previous php.pear.cvs (#27782) next »