curl-curl/tests/data/test1034
Viktor Szakats 7f3731ce14
tests/data: mark non-XML-compliant files as such, xmllint the rest in CI
There are 58 non-compliant files. Mark them with the `notxml` keyword.
Also include the compliant ones in the GHA/checksrc xmllint CI job.

Also:
- delete XML prolog from the 3 test data files that had them.
- FILEFORMAT.md: document the `notxml` keyword.
- FILEFORMAT.md: fix a typo.

Follow-up to de49cc89ab #19470
Follow-up to f3095f0dbd #19528
Follow-up to 87ba80a6df

Closes #19595
2025-11-19 00:02:45 +01:00

51 lines
613 B
Plaintext

<testcase>
<info>
<keywords>
HTTP
HTTP GET
HTTP proxy
IDN
FAILURE
config file
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<features>
IDN
http
proxy
codeset-utf8
</features>
<setenv>
LC_ALL=C.UTF-8
</setenv>
<name>
HTTP over proxy with malformatted IDN hostname
</name>
# This hostname contains an invalid UTF-8 byte sequence that cannot be
# converted into an IDN name
<stdin>
url = "http://invalid-utf8-%hex[%e2%90]hex%.local/page/%TESTNUMBER"
</stdin>
<command>
-K - -x %HOSTIP:%NOLISTENPORT
</command>
</client>
#
<verify>
<errorcode>
3
</errorcode>
</verify>
</testcase>