Project

General

Profile

Actions

Bug #81904

closed

Extension "mailform": validation bypass problem

Added by Grigorij Seidenberg almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2017-07-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

Updated by Gleb Levitin almost 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.

Actions #2

Updated by Björn Jacob over 6 years ago

  • Category set to Form Framework
Actions #3

Updated by Björn Jacob over 6 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.

Actions

Also available in: Atom PDF