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
|
2017-05-17 03:29:59 +08:00
|
|
|
|
config file
|
2008-07-08 07:52:52 +08:00
|
|
|
|
</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 malformatted IDN host name
|
|
|
|
|
</name>
|
|
|
|
|
|
|
|
|
|
# This host name contains an invalid UTF-8 byte sequence that can't be
|
|
|
|
|
# converted into an IDN name
|
2017-05-17 03:29:59 +08:00
|
|
|
|
<stdin>
|
|
|
|
|
url = "http://invalid-utf8-<2D><>.local/page/1034"
|
|
|
|
|
</stdin>
|
2008-07-08 07:52:52 +08:00
|
|
|
|
<command>
|
2017-05-17 03:29:59 +08:00
|
|
|
|
-K - -x %HOSTIP:%HTTPPORT
|
2008-07-08 07:52:52 +08:00
|
|
|
|
</command>
|
|
|
|
|
</client>
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
<verify>
|
2017-11-17 23:48:37 +08:00
|
|
|
|
<errorcode>
|
|
|
|
|
3
|
|
|
|
|
</errorcode>
|
2008-07-08 07:52:52 +08:00
|
|
|
|
</verify>
|
|
|
|
|
</testcase>
|