diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-09-21 08:17:39 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-09-21 11:19:14 +0200 |
commit | 2097cd515289581df5dfb6eeb5942d083a871fa4 (patch) | |
tree | 9e84d0c8a018fbeebc499d87c41daa185c2f113d /tests | |
parent | 9bdadbbdee61c1726c2f5ee9452fd4cd6a933128 (diff) | |
download | curl-2097cd515289581df5dfb6eeb5942d083a871fa4.tar.gz |
urlapi: fix support for address scope in IPv6 numerical addresses
Closes #3024
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/lib1560.c | 3 |
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}, |