curl-curl/tests/data/test763
Daniel Stenberg de86c2483f
test763: verify IDN hostname with zero width characters only
Bonus: fix memory leak in exit path from 967a626af4

Closes #18465
2025-09-03 15:49:54 +02:00

30 lines
400 B
Plaintext

<testcase>
<info>
<keywords>
IDN
</keywords>
</info>
<client>
<features>
IDN
!AppleIDN
</features>
<name>
Unicode hostname ending up in a blank name
</name>
# e2 80 8b - ZERO WIDTH SPACE
# e2 80 8c - ZERO WIDTH NON-JOINER
<command>
%hex['%e2%80%8b%e2%80%8c']hex%
</command>
</client>
<verify>
# curl: (3) URL using bad/illegal format or missing URL
<errorcode>
3
</errorcode>
</verify>
</testcase>