curl/tests/data/test1560
Daniel Stenberg f27262b179
test1560: use a UTF8-using locale when run
There are odd cases that don't use UTF8 and then the IDN handling goes
wrong.

Reported-by: Marcel Raad
Fixes #10193
Closes #10196
2023-01-02 10:35:42 +01:00

51 lines
619 B
Plaintext

<testcase>
<info>
<keywords>
unittest
URLAPI
</keywords>
</info>
#
# Client-side
<client>
<server>
none
</server>
<setenv>
LANG=en_US.UTF-8
</setenv>
<features>
file
https
http
pop3
smtp
imap
ldap
dict
ftp
ipv6
</features>
<name>
URL API
</name>
<tool>
lib%TESTNUMBER
</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>