-
Couldn't load subscription status.
- Fork 0
Open
Description
Hello,
The implementation for assertValidHostname seems to be checking for validity of an IP address as well. However, the checks on ipv4 seem weak. For instance, the following are invalid, while the function does not throw any exception:
124.14.32.abc (invalid characters)
231.54.11.987 (range of last octet incorrect)
23.64.12 (incorrect number of octets)
Also, ipv6 does not seem to be supported. For instance, 2001:0438:FFFE:0000:0000:0000:0000:0A35 should be valid.
Metadata
Metadata
Assignees
Labels
No labels