Bug #3801

ValidatorResolver doesn't accept custom validator classes as validator name

Added by Christopher Hlubek over 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Must have
Category:
Validation
Start date:
2009-06-29
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

When trying to implement a new Validator for URLs I stumbled upon a problem in the ValidatorResolver: it is currently not possible to add custom validators (not based on the model) e.g. for an E-Mail or URL. It should be possible to add a class name, but the Regexp doesn't allow for backslashes in the pattern.

Also available in: Atom PDF