]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(tests): Add RemoteAddress v6 zone ID test
authorJosh <josh.t.richards@gmail.com>
Mon, 4 Nov 2024 14:30:21 +0000 (09:30 -0500)
committerGitHub <noreply@github.com>
Mon, 4 Nov 2024 14:30:21 +0000 (09:30 -0500)
Signed-off-by: Josh <josh.t.richards@gmail.com>
tests/lib/Security/Ip/RemoteAddressTest.php

index d780c3bc19861469096c5f165f38bfe06018332b..d1f621796feee93a0f08e1e8f317f8ac11083e66 100644 (file)
@@ -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],