xref: /curl/tests/data/test1034 (revision 0b70b23e)
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<testcase>
3<info>
4<keywords>
5HTTP
6HTTP GET
7HTTP proxy
8IDN
9FAILURE
10config file
11</keywords>
12</info>
13
14#
15# Server-side
16<reply>
17</reply>
18
19#
20# Client-side
21<client>
22<server>
23none
24</server>
25<features>
26IDN
27http
28proxy
29codeset-utf8
30</features>
31<setenv>
32LC_ALL=
33LC_CTYPE=en_US.UTF-8
34</setenv>
35<name>
36HTTP over proxy with malformatted IDN host name
37</name>
38
39# This host name contains an invalid UTF-8 byte sequence that can't be
40# converted into an IDN name
41<stdin>
42url = "http://invalid-utf8-.local/page/%TESTNUMBER"
43</stdin>
44<command>
45-K - -x %HOSTIP:%NOLISTENPORT
46</command>
47</client>
48
49#
50<verify>
51<errorcode>
523
53</errorcode>
54</verify>
55</testcase>
56