mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-01-07 22:02:49 +01:00
e6cd81babc
* [bugfix]: Fix IPv6 validation The current code considers ff00::/8 valid, but contrary to the comment that's not the global unicast range. ff-prefixes in IPv6 denote multicast. This adapts the code to take the same approach as IPv4, explicitly blacklisting reserved internal/private ranges. * [chore] Add missing 4 in IPv4Reserved doc comment |
||
---|---|---|
.. | ||
validate.go |