Bug Report #44

Validation > alpha_numeric() allows dashes

Added by Geert De Deckere almost 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:-% Done:


Target version:1.0
Resolution:fixed Points:


This function should return FALSE if the form element contains anything other than alpha-numeric characters. When the string contains dashes this function returns TRUE, though.

Please use PHP’s ctype_alnum() function when fixing this. That function is five times faster than preg_match() in this case.


#1 Updated by Geert De Deckere almost 8 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF