File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1529
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (4 years, 7 months ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

<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>
lib1529
</tool>
 <name>
HTTP request-injection in URL sent over proxy
 </name>
 <command>
 "http://the.old.moo:%HTTPPORT/1529" %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>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>