1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 22:15:13 -05:00
curl/tests/data/test1560
Daniel Stenberg 5d5bd4460e
test1560: require IPv6 for IPv6 aware URL parsing
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
2019-11-08 23:09:53 +01:00

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>