Subject: | calling htpasswd() with an old password that is a single digit is misinterpreted |
If I have a .htpasswd file where my password is a single digit, then I cannot tell htpasswd() to validate that password. Consequently, setting my password to a single digit is an invitation to change my password without validation. This is because the old-password argument in conflated with the validation check boolean, which is a design error, IMO.
Fortunately, passwords of a single digit are not recommended anyway, so anyone who gets bitten by this misfeature was asking for trouble anyway.
-- Chris