Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.4.2
-
None
Description
QHostAddress::isGlobal returns true for local network addresses, such as QHostAddress("192.168.0.1").isGlobal() which returns true.
Although I understand that this behavior is implemented according to the description in RFC 4193 section 1, I find it not intuitive.
Generally, "global" means "not local", and it would be better if the function returned false for IPv6 unique local unicast addresses and IPv4 private addresses.
Attachments
Issue Links
- resulted in
-
QTBUG-111211 QHostAddress function to test if an address is in a space reserved for private use
- Reported