aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJosh <josh.t.richards@gmail.com>2024-11-04 09:30:21 -0500
committerGitHub <noreply@github.com>2024-11-04 09:30:21 -0500
commit97421fb1436ca4d130d3dd2600c605e92325be80 (patch)
tree753e558f05c4c3ea1e264633ad9ee3eac80003a2 /tests
parentda4066ae3966f9996eda1017b7e72e444b5a6421 (diff)
downloadnextcloud-server-97421fb1436ca4d130d3dd2600c605e92325be80.tar.gz
nextcloud-server-97421fb1436ca4d130d3dd2600c605e92325be80.zip
fix(tests): Add RemoteAddress v6 zone ID test
Signed-off-by: Josh <josh.t.richards@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Security/Ip/RemoteAddressTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/Security/Ip/RemoteAddressTest.php b/tests/lib/Security/Ip/RemoteAddressTest.php
index d780c3bc198..d1f621796fe 100644
--- a/tests/lib/Security/Ip/RemoteAddressTest.php
+++ b/tests/lib/Security/Ip/RemoteAddressTest.php
@@ -52,6 +52,8 @@ class RemoteAddressTest extends \Test\TestCase {
// No configuration
['1.2.3.4', false, true],
['1234:4567:8910::', false, true],
+ // v6 Zone ID
+ ['fe80::1fc4:15d8:78db:2319%enp4s0', false, true],
// Empty configuration
['1.2.3.4', [], true],
['1234:4567:8910::', [], true],