xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | HTTP GET |
| 6 | HTTP proxy |
| 7 | IDN |
| 8 | FAILURE |
| 9 | </keywords> |
| 10 | </info> |
| 11 | |
| 12 | # |
| 13 | # Server-side |
| 14 | <reply> |
| 15 | </reply> |
| 16 | |
| 17 | # |
| 18 | # Client-side |
| 19 | <client> |
| 20 | <server> |
| 21 | none |
| 22 | </server> |
| 23 | <features> |
| 24 | idn |
| 25 | http |
| 26 | proxy |
| 27 | </features> |
| 28 | <setenv> |
| 29 | LC_ALL= |
| 30 | LC_CTYPE=en_US.UTF-8 |
| 31 | </setenv> |
| 32 | <precheck> |
| 33 | perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");' |
| 34 | </precheck> |
| 35 | <name> |
| 36 | HTTP over proxy with too long IDN host name |
| 37 | </name> |
| 38 | <command> |
| 39 | http://too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local/page/%TESTNUMBER -x %HOSTIP:%NOLISTENPORT |
| 40 | </command> |
| 41 | </client> |
| 42 | |
| 43 | # |
| 44 | # Verify data after the test has been "shot" |
| 45 | <verify> |
| 46 | <errorcode> |
| 47 | 3 |
| 48 | </errorcode> |
| 49 | </verify> |
| 50 | </testcase> |