[TASK] Activate email validation for pages.author_email 55/56155/3
authorJosef Glatz <josefglatz@gmail.com>
Thu, 15 Mar 2018 10:31:15 +0000 (11:31 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Thu, 15 Mar 2018 15:24:25 +0000 (16:24 +0100)
Activate email validation for pages.author_email as the field
is intended to hold an e-mail address of the author.

Resolves: #84279
Releases: master
Change-Id: Ib025ef413379fd94c4956401bce5a4bbc76bdb3f
Reviewed-on: https://review.typo3.org/56155
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/core/Configuration/TCA/pages.php

index 8dda6b1..ee7107d 100644 (file)
@@ -655,7 +655,7 @@ return [
             'config' => [
                 'type' => 'input',
                 'size' => 23,
-                'eval' => 'trim',
+                'eval' => 'trim,email',
                 'max' => 255,
                 'softref' => 'email[subst]',
                 'behaviour' => [