Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2021-04-07 15:07:08 +0300
committerGitHub <noreply@github.com>2021-04-07 15:28:59 +0300
commite5a4236e686bfc97a69753b4a8e932b2f633de83 (patch)
treee83a599c91ca843245493307cc99a1fbbaf29283 /tests
parentb9907df702d37ea72bd2a28fca3d50f413207339 (diff)
Increase subnet matcher
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Security/Normalizer/IpAddressTest.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/lib/Security/Normalizer/IpAddressTest.php b/tests/lib/Security/Normalizer/IpAddressTest.php
index 16be71cb225..044fc52b4b9 100644
--- a/tests/lib/Security/Normalizer/IpAddressTest.php
+++ b/tests/lib/Security/Normalizer/IpAddressTest.php
@@ -37,11 +37,19 @@ class IpAddressTest extends TestCase {
],
[
'2001:0db8:85a3:0000:0000:8a2e:0370:7334',
- '2001:db8:85a3::8a2e:370:7334/128',
+ '2001:db8:85a3::/64',
+ ],
+ [
+ '2001:db8:3333:4444:5555:6666:7777:8888',
+ '2001:db8:3333:4444::/64',
+ ],
+ [
+ '::1234:5678',
+ '::/64',
],
[
'[::1]',
- '::1/128',
+ '::/64',
],
];
}