mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
test: urlapi: urlencode characters above 0x7f correctly
This commit is contained in:
parent
0dd47c2a3d
commit
89bb5a836c
@ -419,6 +419,10 @@ static struct setcase set_parts_list[] = {
|
|||||||
"scheme=https,host=foobar,path=/this /path /is /here,",
|
"scheme=https,host=foobar,path=/this /path /is /here,",
|
||||||
"https://foobar/this%20/path%20/is%20/here",
|
"https://foobar/this%20/path%20/is%20/here",
|
||||||
0, CURLU_URLENCODE, CURLUE_OK},
|
0, CURLU_URLENCODE, CURLUE_OK},
|
||||||
|
{NULL,
|
||||||
|
"scheme=https,host=foobar,path=\xc3\xa4\xc3\xb6\xc3\xbc,",
|
||||||
|
"https://foobar/%c3%a4%c3%b6%c3%bc",
|
||||||
|
0, CURLU_URLENCODE, CURLUE_OK},
|
||||||
{"imap://user:secret;opt@host/",
|
{"imap://user:secret;opt@host/",
|
||||||
"options=updated,scheme=imaps,password=p4ssw0rd,",
|
"options=updated,scheme=imaps,password=p4ssw0rd,",
|
||||||
"imaps://user:p4ssw0rd;updated@host/",
|
"imaps://user:p4ssw0rd;updated@host/",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user