Details
-
Bug
-
Status: Closed
-
Could
-
Resolution: Fixed
-
None
-
None
-
None
Description
Burke's love of regular expressions produced this for password validation:
// Password must contain at least one digit, one lowercase and one uppercase character Pattern pattern = Pattern.compile("(?-i)(?-m)(?-s)^(?=.\{5,99\}$)(?=.*?[0-9])(?=.*?[a-z])(?=.*?[A-Z]).*$");
See the mailing list discussion: http://n2.nabble.com/Re%3A--8765--openmrs-trunk%3A-Added-ability-to-have-special-characters-in-passwords-again----1592-td3162085.html#a3162085
This was in reaction to TRAC-1592