Add project files.
This commit is contained in:
43
3rd-party/curl-7.52.1/tests/data/test1529
vendored
Normal file
43
3rd-party/curl-7.52.1/tests/data/test1529
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
<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>
|
||||
</client>
|
||||
|
||||
# it should be detected and an error should be reported
|
||||
<verify>
|
||||
# 3 == CURLE_URL_MALFORMAT
|
||||
<errorcode>
|
||||
3
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
Reference in New Issue
Block a user