Project

General

Profile

Actions

Bug #96399

closed

Invalid string cast of idn_to_ascii()

Added by Andreas Kienast over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-12-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF