mirror of
https://github.com/moparisthebest/curl
synced 2024-11-14 13:35:03 -05:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
47 lines
578 B
Plaintext
47 lines
578 B
Plaintext
<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>
|
|
lib%TESTNUMBER
|
|
</tool>
|
|
<name>
|
|
HTTP request-injection in URL sent over proxy
|
|
</name>
|
|
<command>
|
|
"http://the.old.moo:%HTTPPORT/%TESTNUMBER" %HOSTIP:%PROXYPORT
|
|
</command>
|
|
<features>
|
|
proxy
|
|
</features>
|
|
</client>
|
|
|
|
# it should be detected and an error should be reported
|
|
<verify>
|
|
# 3 == CURLE_URL_MALFORMAT
|
|
<errorcode>
|
|
3
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|