From b307fa431148728256ebb3be925089460d9fab07 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 10 Mar 2017 09:02:42 +0000 Subject: nsurl tests were not exercising unicode --- test/nsurl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/nsurl.c') diff --git a/test/nsurl.c b/test/nsurl.c index 04c52345f..5b56a42e8 100644 --- a/test/nsurl.c +++ b/test/nsurl.c @@ -115,6 +115,9 @@ static const struct test_pairs create_tests[] = { { "ftp://a/b", "ftp://a/b" }, { "FTP://a/b", "ftp://a/b" }, + /* punycode */ + { "http://a.कॉम/a", "http://a.xn--11b4c3d/a" }, + { "https://smog.大众汽车/test", "https://smog.xn--3oq18vl8pn36a/test"}, }; /** -- cgit v1.2.3