History log of /PHP-8.2/ext/filter/tests/ghsa-w8qr-v226-r27w.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 7e0e3cc8 22-May-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GHSA-w8qr-v226-r27w

We should not early-out with success status if we found an ipv6
hostname, we should keep checking the rest of the conditions.
Because integrating the if-check

Fix GHSA-w8qr-v226-r27w

We should not early-out with success status if we found an ipv6
hostname, we should keep checking the rest of the conditions.
Because integrating the if-check of the ipv6 hostname in the
"Validate domain" if-check made the code hard to read, I extracted the
condition out to a separate function. This also required to make
a few pointers const in order to have some clean code.

show more ...