| 1 |
<testcase> |
| 2 |
<info> |
| 3 |
<keywords> |
| 4 |
HTTP |
| 5 |
HTTP GET |
| 6 |
HTTP proxy |
| 7 |
</keywords> |
| 8 |
</info> |
| 9 |
|
| 10 |
# Server-side |
| 11 |
<reply> |
| 12 |
<connect> |
| 13 |
HTTP/1.1 200 OK |
| 14 |
We-are: good |
| 15 |
|
| 16 |
</connect> |
| 17 |
|
| 18 |
</reply> |
| 19 |
# Client-side |
| 20 |
<client> |
| 21 |
<server> |
| 22 |
http |
| 23 |
http-proxy |
| 24 |
</server> |
| 25 |
<tool> |
| 26 |
lib1529 |
| 27 |
</tool> |
| 28 |
<name> |
| 29 |
HTTP request-injection in URL sent over proxy |
| 30 |
</name> |
| 31 |
<command> |
| 32 |
"http://the.old.moo:%HTTPPORT/1529" %HOSTIP:%PROXYPORT |
| 33 |
</command> |
| 34 |
<features> |
| 35 |
proxy |
| 36 |
</features> |
| 37 |
</client> |
| 38 |
|
| 39 |
# it should be detected and an error should be reported |
| 40 |
<verify> |
| 41 |
# 3 == CURLE_URL_MALFORMAT |
| 42 |
<errorcode> |
| 43 |
3 |
| 44 |
</errorcode> |
| 45 |
</verify> |
| 46 |
</testcase> |