[BUGFIX] Catch error in GeneralUtility::validEmail and GeneralUtility:isValidUrl 25/53625/2
authorNicole Cordes <typo3@cordes.co>
Mon, 5 Jun 2017 12:32:31 +0000 (14:32 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Sun, 30 Jul 2017 17:32:54 +0000 (19:32 +0200)
commit197a5b1d4d32efdfb348294d951fec99801559ba
treef51267b0508fda9a9124a50e638f51eca0090e98
parent62bf3ddb996860e5997d7e432085acb104d98a9e
[BUGFIX] Catch error in GeneralUtility::validEmail and GeneralUtility:isValidUrl

If a wrong email address or URL is parsed and the domain cannot be converted,
an exception is thrown by \Mso\IdnaConvert\IdnaConvert::encode(). This
exception needs to be caught.

Resolves: #81471
Releases: master, 8.7, 7.6
Change-Id: I76f9b8898655d9220e5176a60f388067a6c493b3
Reviewed-on: https://review.typo3.org/53625
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php