From: Daniel Stenberg Date: Tue, 21 Feb 2023 09:02:34 +0000 (+0100) Subject: lib1560: add a test using %25 in the userinfo in a URL X-Git-Tag: curl-8_0_0~179 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb11969838ec577744d81f21eb5f702bbf67fd45;p=thirdparty%2Fcurl.git lib1560: add a test using %25 in the userinfo in a URL Closes #10578 --- diff --git a/tests/libtest/lib1560.c b/tests/libtest/lib1560.c index bfb9dba990..98a69f858f 100644 --- a/tests/libtest/lib1560.c +++ b/tests/libtest/lib1560.c @@ -141,6 +141,10 @@ struct clearurlcase { }; static const struct testcase get_parts_list[] ={ + {"https://example.com%252f%40@example.net", + "https | example.com%2f@ | [12] | [13] | example.net | [15] | / " + "| [16] | [17]", + 0, CURLU_URLDECODE, CURLUE_OK }, #ifdef USE_IDN {"https://räksmörgås.se", "https | [11] | [12] | [13] | xn--rksmrgs-5wao1o.se | "