2008-07-07 19:52:52 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
2008-09-29 18:44:04 -04:00
|
|
|
HTTP proxy
|
2008-07-07 19:52:52 -04:00
|
|
|
IDN
|
|
|
|
FAILURE
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
2017-11-17 10:48:37 -05:00
|
|
|
none
|
2008-07-07 19:52:52 -04:00
|
|
|
</server>
|
|
|
|
<features>
|
|
|
|
idn
|
2017-11-17 10:48:37 -05:00
|
|
|
http
|
2008-07-07 19:52:52 -04:00
|
|
|
</features>
|
|
|
|
<setenv>
|
2017-02-23 15:47:17 -05:00
|
|
|
LC_ALL=
|
|
|
|
LC_CTYPE=en_US.UTF-8
|
2008-07-07 19:52:52 -04:00
|
|
|
</setenv>
|
2017-02-23 15:47:17 -05:00
|
|
|
<precheck>
|
|
|
|
perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
|
|
|
|
</precheck>
|
2008-07-07 19:52:52 -04:00
|
|
|
<name>
|
|
|
|
HTTP over proxy with too long IDN host name
|
|
|
|
</name>
|
|
|
|
<command>
|
2017-02-23 15:47:17 -05:00
|
|
|
http://too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local/page/1035 -x %HOSTIP:%HTTPPORT
|
2008-07-07 19:52:52 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
2017-11-17 10:48:37 -05:00
|
|
|
<errorcode>
|
|
|
|
3
|
|
|
|
</errorcode>
|
2008-07-07 19:52:52 -04:00
|
|
|
</verify>
|
|
|
|
</testcase>
|