diff options
author | 2022-11-26 00:28:03 +0100 | |
---|---|---|
committer | 2022-11-25 23:28:03 +0000 | |
commit | e6cd81babc712979f72987466ce98154d43dd399 (patch) | |
tree | 779f3a87854247fab16258b99153003cf7e69306 /internal/httpclient/client.go | |
parent | [docs] Explain that before 0.6.0, account confirm was necessary. (#1149) (diff) | |
download | gotosocial-e6cd81babc712979f72987466ce98154d43dd399.tar.xz |
[bugfix]: Fix IPv6 validation (#1150)
* [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
Diffstat (limited to 'internal/httpclient/client.go')
0 files changed, 0 insertions, 0 deletions