From b0a68cc5e75d57333c609b69205c7e73ec2fd7c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Setla?= Date: Tue, 30 Jan 2024 10:07:20 +0100 Subject: [PATCH] Update test_invalid_redirect_url --- tests/test_client_functional.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/test_client_functional.py b/tests/test_client_functional.py index 7bdbb422cdd..d7ac11d131d 100644 --- a/tests/test_client_functional.py +++ b/tests/test_client_functional.py @@ -2462,12 +2462,17 @@ async def handler_redirect(request): ( # yarl.URL.__new__ raises ValueError "http://:/", - "http://www.example.com/../filename.html", "http://example.org:non_int_port/", - # yarl.URL.origin raises ValueError + # # yarl.URL.origin raises ValueError "http:/", "http:/example.com", "http:///example.com", + "bluesky://d:i:d", + "call:+3801234567", + "skype:handle", + "slack://instance/room", + "steam:code", + "twitter://handle", ), ) async def test_invalid_redirect_url(