mirror of
https://github.com/curl/curl.git
synced 2026-07-26 04:07:17 +03:00
urlapi: if possible, shorten given numerical IPv6 addresses
Extended test 1560 to verify Closes #8206
This commit is contained in:
parent
1f31bdb10b
commit
eec5ce4ab4
2 changed files with 22 additions and 9 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -164,6 +164,9 @@ static const struct testcase get_parts_list[] ={
|
|||
"https | user | password | [13] | example.net | [15] | /ge%20t | "
|
||||
"this=and-what | [17]",
|
||||
CURLU_ALLOW_SPACE | CURLU_URLENCODE, 0, CURLUE_OK},
|
||||
{"[0:0:0:0:0:0:0:1]",
|
||||
"http | [11] | [12] | [13] | [::1] | [15] | / | [16] | [17]",
|
||||
CURLU_GUESS_SCHEME, 0, CURLUE_OK },
|
||||
{"[::1]",
|
||||
"http | [11] | [12] | [13] | [::1] | [15] | / | [16] | [17]",
|
||||
CURLU_GUESS_SCHEME, 0, CURLUE_OK },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue