From f33e515991a32885622b217bf2ed1d1b0d9d6832 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 7 Feb 2022 11:21:25 +0100 Subject: Correctly check import target URL IP --- server/tests/api/check-params/video-imports.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/tests/api') diff --git a/server/tests/api/check-params/video-imports.ts b/server/tests/api/check-params/video-imports.ts index 156a612ee..7893f5cc5 100644 --- a/server/tests/api/check-params/video-imports.ts +++ b/server/tests/api/check-params/video-imports.ts @@ -120,7 +120,8 @@ describe('Test video imports API validator', function () { 'http://127.0.0.1', 'http://127.0.0.1/hello', 'https://192.168.1.42', - 'http://192.168.1.42' + 'http://192.168.1.42', + 'http://127.0.0.1.cpy.re' ] for (const targetUrl of targetUrls) { -- cgit v1.2.3