mirror of
https://github.com/curl/curl.git
synced 2026-08-03 13:40:30 +03:00
urlapi: fix support for address scope in IPv6 numerical addresses
Closes #3024
This commit is contained in:
parent
9bdadbbdee
commit
2097cd5152
3 changed files with 9 additions and 6 deletions
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue