2008-07-08 07:52:52 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
2008-09-30 06:44:04 +08:00
|
|
|
HTTP proxy
|
2008-07-08 07:52:52 +08:00
|
|
|
IDN
|
|
|
|
FAILURE
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
2017-11-17 23:48:37 +08:00
|
|
|
none
|
2008-07-08 07:52:52 +08:00
|
|
|
</server>
|
|
|
|
<features>
|
|
|
|
idn
|
2017-11-17 23:48:37 +08:00
|
|
|
http
|
2008-07-08 07:52:52 +08:00
|
|
|
</features>
|
|
|
|
<setenv>
|
2017-02-24 04:47:17 +08:00
|
|
|
LC_ALL=
|
|
|
|
LC_CTYPE=en_US.UTF-8
|
2008-07-08 07:52:52 +08:00
|
|
|
</setenv>
|
2017-02-24 04:47:17 +08:00
|
|
|
<precheck>
|
|
|
|
perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
|
|
|
|
</precheck>
|
2008-07-08 07:52:52 +08:00
|
|
|
<name>
|
|
|
|
HTTP over proxy with too long IDN host name
|
|
|
|
</name>
|
|
|
|
<command>
|
2017-02-24 04:47:17 +08: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-08 07:52:52 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
2017-11-17 23:48:37 +08:00
|
|
|
<errorcode>
|
|
|
|
3
|
|
|
|
</errorcode>
|
2008-07-08 07:52:52 +08:00
|
|
|
</verify>
|
|
|
|
</testcase>
|