mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
5d5bd4460e
The URL parser function can't reject a bad IPv6 address properly when curl was built without IPv6 support. Reported-by: Marcel Raad Fixes #4556 Closes #4572
48 lines
577 B
Plaintext
48 lines
577 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
unittest
|
|
URL API
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
file
|
|
https
|
|
http
|
|
pop3
|
|
smtp
|
|
imap
|
|
ldap
|
|
dict
|
|
ftp
|
|
ipv6
|
|
</features>
|
|
<name>
|
|
URL API
|
|
</name>
|
|
<tool>
|
|
lib1560
|
|
</tool>
|
|
</client>
|
|
|
|
<verify>
|
|
<stdout>
|
|
we got [fe80::20c:29ff:fe9c:409b]
|
|
we got https://[::1]/hello.html
|
|
we got https://example.com/hello.html
|
|
we got https://[fe80::20c:29ff:fe9c:409b%25eth0]/hello.html
|
|
we got [fe80::20c:29ff:fe9c:409b]
|
|
we got eth0
|
|
we got https://[fe80::20c:29ff:fe9c:409b%25clown]/hello.html
|
|
success
|
|
</stdout>
|
|
</verify>
|
|
</testcase>
|