From: Jakub Zakrzewski Date: Sat, 6 Apr 2019 11:47:43 +0000 (+0200) Subject: test: urlapi: urlencode characters above 0x7f correctly X-Git-Tag: curl-7_65_0~191 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89bb5a836c3a53dbbf88f4d61358f1d9475b2450;p=thirdparty%2Fcurl.git test: urlapi: urlencode characters above 0x7f correctly --- diff --git a/tests/libtest/lib1560.c b/tests/libtest/lib1560.c index 7ae1025be9..c57fe58303 100644 --- a/tests/libtest/lib1560.c +++ b/tests/libtest/lib1560.c @@ -419,6 +419,10 @@ static struct setcase set_parts_list[] = { "scheme=https,host=foobar,path=/this /path /is /here,", "https://foobar/this%20/path%20/is%20/here", 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/", "options=updated,scheme=imaps,password=p4ssw0rd,", "imaps://user:p4ssw0rd;updated@host/",