jeffreyhi1 / loginsystem-rd

Automatically exported from code.google.com/p/loginsystem-rd
0 stars 0 forks source link

Password empty #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1@b@=

results in 

The Password field is empty but is required. Please enter your password.

Original issue reported on code.google.com by mplung...@gmail.com on 7 Feb 2010 at 8:18

GoogleCodeExporter commented 8 years ago
@ is not a valid character in rXsafe, however rXsafe is a bad regular 
expression.

See issue 20

Original comment by rdivilb...@gmail.com on 8 Feb 2010 at 4:54

GoogleCodeExporter commented 8 years ago
Suggest replacing rXsafe, which is in use other places with a new regular 
expression;
safe for parameterized queries: rXsafepq.

Const rXsafepq = "^[a-zA-Z0-9 -\.\,\~\!\@\#\%\^\&\*\(\);\:\/\?\&\=\_]+$"

NOTE: many would be problematic in a dynamic query.

Original comment by rdivilb...@gmail.com on 8 Feb 2010 at 5:23

GoogleCodeExporter commented 8 years ago
Replaced all userid and password, newpassword, and confirm(password) field 
retrievals
with the new regular expression.

mplungjan should QA

Original comment by rdivilb...@gmail.com on 8 Feb 2010 at 5:33