[horde] Patch for a bug in 'passwd'
Diego Rivera
lrivera at racsa.co.cr
Wed May 7 09:49:00 PDT 2003
Passwd has a missing bracket that causes errors when a password change
is requested and verification of its strength is used. Here's a patch
for that.
-- BEGIN PATCH INLINED --
diff -ruP horde-orig/passwd/main.php horde-new/passwd/main.php
--- horde-orig/passwd/main.php 2003-05-07 09:45:15.000000000 -0600
+++ horde-new/passwd/main.php 2003-05-07 10:02:58.000000000 -0600
@@ -102,7 +102,7 @@
} else {
if (preg_match('/[[:lower:]]/', $char)) {
$lower++; $alpha++; $alnum++;
- } elseif (preg_match('/[[:upper:]/', $char)) {
+ } elseif (preg_match('/[[:upper:]]/', $char)) {
$upper++; $alpha++; $alnum++;
} elseif (preg_match('/[[:digit:]]/', $char)) {
$num++; $alnum++;
--- END PATCH INLINED ---
--
===========================================================
* Diego Rivera *
* *
* "The Disease: Windows, the cure: Linux" *
* *
* E-mail: lrivera<AT>racsa<DOT>co<DOT>cr *
* Replace: <AT>='@', <DOT>='.' *
* *
* GPG: BE59 5469 C696 C80D FF5C 5926 0B36 F8FF DA98 62AD *
* GPG Public Key avaliable at: http://pgp.mit.edu *
===========================================================
More information about the horde
mailing list