[BUGFIX] email validator
authorMarkus Günther <mail@markus-guenther.de>
Thu, 9 Aug 2012 16:33:40 +0000 (18:33 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 13 Aug 2012 13:42:48 +0000 (15:42 +0200)
commit50160b4161cb138ba4818cd0bc4d9ef2a037f17d
tree371b78debab65f4a9350fe1072922fd786dcf90c
parent4f2eac09401d1fd7e6978a436c92ef0321e8b7fe
[BUGFIX] email validator

The actuall email validator uses a regex to validate email addresses.
The TYPO3 core offers a method in t3lib_div to validate email addresses.
This patch replace the regex with t3lib_div::validEmail()

Change-Id: I8157a61b8f056d0a60510ec3a7ba9dcb182cb0e5
Releases: 6.0, 4.7
Resolves: #6970
FLOW3 issue: #39714
Reviewed-on: http://review.typo3.org/13550
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/extbase/Classes/Validation/Validator/EmailAddressValidator.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/BeforeExtbase14/EmailAddressValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/EmailAddressValidatorTest.php