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
28</features>
29<setenv>
30LC_ALL=
31LC_CTYPE=en_US.UTF-8
32</setenv>
33<precheck>
34perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
35</precheck>
36 <name>
37HTTP over proxy with malformatted IDN host name
38 </name>
39
40# This host name contains an invalid UTF-8 byte sequence that can't be
41# converted into an IDN name
42<stdin>
43url = "http://invalid-utf8-.local/page/1034"
44</stdin>
45 <command>
46-K - -x %HOSTIP:%HTTPPORT
47</command>
48</client>
49
50#
51<verify>
52<errorcode>
533
54</errorcode>
55</verify>
56</testcase>
57