aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Security/Normalizer/IpAddressTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Security/Normalizer/IpAddressTest.php')
-rw-r--r--tests/lib/Security/Normalizer/IpAddressTest.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/lib/Security/Normalizer/IpAddressTest.php b/tests/lib/Security/Normalizer/IpAddressTest.php
index 7492e182c32..bb487659ced 100644
--- a/tests/lib/Security/Normalizer/IpAddressTest.php
+++ b/tests/lib/Security/Normalizer/IpAddressTest.php
@@ -40,7 +40,15 @@ class IpAddressTest extends TestCase {
],
[
'::ffff:192.168.0.123',
- '::ffff:192.168.0.123/32',
+ '192.168.0.123/32',
+ ],
+ [
+ '0:0:0:0:0:ffff:192.168.0.123',
+ '192.168.0.123/32',
+ ],
+ [
+ '0:0:0:0:0:ffff:c0a8:7b',
+ '192.168.0.123/32',
],
[
'2001:0db8:85a3:0000:0000:8a2e:0370:7334',