lib1560: add a test using %25 in the userinfo in a URL

Closes #10578
This commit is contained in:
Daniel Stenberg 2023-02-21 10:02:34 +01:00
parent 821f6e2a89
commit bb11969838
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 | "