Issue Bug Closed

#96399Invalid string cast of idn_to_ascii()

Andreas Kienast 12/20/21, 14:26 updated 10/04/22, 14:14

Description

GeneralUtility::isValidUrl() makes use of idn_to_ascii, whose result is cast to string. Afterward, the result is checked for being false, which does not make sense in this context, as this will never be false.

Reviews 2