aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Http/Client/ClientTest.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-12-04 10:38:46 +0100
committerJoas Schilling <coding@schilljs.com>2023-12-04 10:38:46 +0100
commit33e1c8b2361094be5466f5717bfa88ede7463784 (patch)
treefafd007ce53b3ff41e5dfb93d8ab601f6dd0e7e5 /tests/lib/Http/Client/ClientTest.php
parentdf7bc46eab01ee50eba0af7e51c876bfad2625a7 (diff)
downloadnextcloud-server-33e1c8b2361094be5466f5717bfa88ede7463784.tar.gz
nextcloud-server-33e1c8b2361094be5466f5717bfa88ede7463784.zip
fix(security): Handle idn_to_utf8 returning false
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Http/Client/ClientTest.php')
-rw-r--r--tests/lib/Http/Client/ClientTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/Http/Client/ClientTest.php b/tests/lib/Http/Client/ClientTest.php
index 3cef9d75986..0e6e265584e 100644
--- a/tests/lib/Http/Client/ClientTest.php
+++ b/tests/lib/Http/Client/ClientTest.php
@@ -149,6 +149,7 @@ class ClientTest extends \Test\TestCase {
['https://service.localhost'],
['!@#$', true], // test invalid url
['https://normal.host.com'],
+ ['https://com.one-.nextcloud-one.com'],
];
}