Fix #4666: Broken network link for some IPs.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user