Issue Type: Bug Bug
Affects Versions: 2.2.5
Assignee: Unassigned
Components: validation
Created: 11/Aug/14 9:56 AM
Description:

The regexp based validator:
info.magnolia.module.form.validators.ValidateExpression
extends the class:
info.magnolia.module.form.validators.NoHTMLValidator

Using the NoHTMLValidator as a base class for all other fields makes sense, as it prohibuts html characters in form fields. But the NoHTMLValidator prohibits characters which are perfectly fine as password characters.

So the ValidateExpression should extends directly the base class Validator, and if by default it still should constrain by the html characters, it should directly be added to the used _expression_ itself. So its obvious and easy changeable.

Project: Magnolia Form Module
Labels: support
Priority: Neutral Neutral
Reporter: Christian Ringele
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to