diff options
author | Josh <josh.t.richards@gmail.com> | 2024-11-04 09:30:21 -0500 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-11-06 08:19:56 +0000 |
commit | 7ff1654ed3bae0cf0bba9981b0bca7013b2b67f3 (patch) | |
tree | 10c587d8fbd7c738e552bcf9cd0ef3324fa8a676 | |
parent | e7fa55d59ff65adc0af99c52ff7f6890a0d93513 (diff) | |
download | nextcloud-server-7ff1654ed3bae0cf0bba9981b0bca7013b2b67f3.tar.gz nextcloud-server-7ff1654ed3bae0cf0bba9981b0bca7013b2b67f3.zip |
fix(tests): Add RemoteAddress v6 zone ID test
Signed-off-by: Josh <josh.t.richards@gmail.com>
-rw-r--r-- | tests/lib/Security/Ip/RemoteAddressTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/Security/Ip/RemoteAddressTest.php b/tests/lib/Security/Ip/RemoteAddressTest.php index 22f38f62356..1f200805de7 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], |