Issue Bug Closed

#81904Extension "mailform": validation bypass problem

Grigorij Seidenberg 07/18/17, 12:03 updated 09/06/17, 23:10

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.