diff options
author | justdave%syndicomm.com <> | 2001-08-11 10:51:04 +0200 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-08-11 10:51:04 +0200 |
commit | 77295188fbec0561eed513a51af17512247ecd58 (patch) | |
tree | f86182f4468498ee73a82da8834d3b85f94175a2 /checksetup.pl | |
parent | 53d3d353d29c8bd47d90cca6c3f55cf36a1f24ff (diff) | |
download | bugzilla-77295188fbec0561eed513a51af17512247ecd58.tar.gz bugzilla-77295188fbec0561eed513a51af17512247ecd58.tar.xz |
Fix for bug 94618: remove restrictions on valid characters in passwords. If crypt() takes it, why shouldn't we?
Patch by Myk Melez <myk@mozilla.org>
r= justdave@syndicomm.com
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/checksetup.pl b/checksetup.pl index d8414e6c3..14a58eee0 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1508,9 +1508,8 @@ _End_Of_SQL_ chomp $pass1; if(! $pass1 ) { print "\n\nIt's just plain stupid to not have a password. Try again!\n"; - } elsif ( $pass1 !~ /^[a-zA-Z0-9-_]{3,16}$/ ) { - print "The password must be 3-16 characters in length - and contain only letters, numbers, hyphens (-), and underlines (_)."; + } elsif ( $pass1 !~ /^.{3,16}$/ ) { + print "The password must be 3-16 characters in length."; } } print "\nPlease retype the password to verify: "; |