2014-12-25 17:51:43 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
HTTP proxy
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<connect>
|
|
|
|
HTTP/1.1 200 OK
|
|
|
|
We-are: good
|
|
|
|
|
|
|
|
</connect>
|
|
|
|
|
|
|
|
</reply>
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
http-proxy
|
|
|
|
</server>
|
|
|
|
<tool>
|
2021-03-12 11:38:26 -05:00
|
|
|
lib%TESTNUMBER
|
2014-12-25 17:51:43 -05:00
|
|
|
</tool>
|
|
|
|
<name>
|
|
|
|
HTTP request-injection in URL sent over proxy
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
"http://the.old.moo:%HTTPPORT/%TESTNUMBER" %HOSTIP:%PROXYPORT
|
2014-12-25 17:51:43 -05:00
|
|
|
</command>
|
2019-10-14 16:29:19 -04:00
|
|
|
<features>
|
|
|
|
proxy
|
|
|
|
</features>
|
2014-12-25 17:51:43 -05:00
|
|
|
</client>
|
|
|
|
|
|
|
|
# it should be detected and an error should be reported
|
|
|
|
<verify>
|
|
|
|
# 3 == CURLE_URL_MALFORMAT
|
|
|
|
<errorcode>
|
|
|
|
3
|
|
|
|
</errorcode>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|