Bug #81904
closedExtension "mailform": validation bypass problem
0%
Description
The "mailform" form can only be sent with a space character in the input field, even though the position has been defined as mandatory.
It is to be checked whether or not other characters are present in the field.
The problem can be eliminated by using the function "trim" in the "RequiredValidator" class: http://php.net/manual/en/function.trim.php
Updated by Gleb Levitin over 7 years ago
Instead of hard coding the trim function in the RequiredValidator, I would rather prefer to introduce a new TypoScript constant, by which it will be determined, whether whitespaces should be perceived as symbols or not.
Updated by Björn Jacob about 7 years ago
- Subject changed from Exrension "mailform": validation bypass problem to Extension "mailform": validation bypass problem
- Status changed from New to Closed
Sry guys. I am closing this issue. The old form extension is not available anymore in TYPO3 8. It has been moved to TER. It has been renamed to "form_legacy". We have no plans to further improve this rather outdated extension. Let's concentrate on the rewritten extension ;) Please get in touch with me, if you have further questions or disagree with the decision.