summaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-09-21 08:17:39 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-09-21 11:19:14 +0200
commit2097cd515289581df5dfb6eeb5942d083a871fa4 (patch)
tree9e84d0c8a018fbeebc499d87c41daa185c2f113d /tests/libtest
parent9bdadbbdee61c1726c2f5ee9452fd4cd6a933128 (diff)
downloadcurl-2097cd515289581df5dfb6eeb5942d083a871fa4.tar.gz
urlapi: fix support for address scope in IPv6 numerical addresses
Closes #3024
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/lib1560.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libtest/lib1560.c b/tests/libtest/lib1560.c
index 224cb880f..7a5be812a 100644
--- a/tests/libtest/lib1560.c
+++ b/tests/libtest/lib1560.c
@@ -128,6 +128,9 @@ struct querycase {
};
static struct testcase get_parts_list[] ={
+ {"https://[::1%252]:1234",
+ "https | [11] | [12] | [13] | [::1%252] | 1234 | / | [16] | [17]",
+ CURLU_DEFAULT_SCHEME, 0, CURLUE_OK},
{"https://127.0.0.1:443",
"https | [11] | [12] | [13] | 127.0.0.1 | [15] | / | [16] | [17]",
0, CURLU_NO_DEFAULT_PORT, CURLUE_OK},