Fix #4666: Broken network link for some IPs.

This commit is contained in:
evazion
2021-03-01 18:09:15 -06:00
parent 92b8f24724
commit 52adf87489
5 changed files with 94 additions and 57 deletions

View File

@@ -51,6 +51,11 @@ class IpAddressesControllerTest < ActionDispatch::IntegrationTest
get_auth ip_address_path("1.2.3.4"), @user
assert_response 403
end
should "work for a Tor address" do
get_auth ip_address_path("2405:8100:8000::1"), @mod
assert_response :success
end
end
end
end