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