Question
cfinput pattern validation broken
Correct me if I am wrong, but from my tests it appears the
cfinput pattern validation is broken. Basically, ColdFusion will
only match the very minimum amount of the string to be checked as
possible to make the pattern match.
So pattern "[A-Z]+" matches "John123" even though it should fail. I've attached some code that shows an example in action.
So pattern "[A-Z]+" matches "John123" even though it should fail. I've attached some code that shows an example in action.
