2019-02-22 05:06:16 +08:00
|
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
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>
|
2021-03-13 00:38:26 +08:00
|
|
|
|
url = "http://invalid-utf8-<2D><>.local/page/%TESTNUMBER"
|
2017-05-17 03:29:59 +08:00
|
|
|
|
</stdin>
|
2008-07-08 07:52:52 +08:00
|
|
|
|
<command>
|
2020-04-30 22:00:31 +08:00
|
|
|
|
-K - -x %HOSTIP:%NOLISTENPORT
|
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>
|