xref: /curl/tests/data/test1529 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP proxy
7</keywords>
8</info>
9
10# Server-side
11<reply>
12<connect>
13HTTP/1.1 200 OK
14We-are: good
15
16</connect>
17
18</reply>
19# Client-side
20<client>
21<server>
22http
23http-proxy
24</server>
25<tool>
26lib%TESTNUMBER
27</tool>
28<name>
29HTTP request-injection in URL sent over proxy
30</name>
31<command>
32 "http://the.old.moo:%HTTPPORT/%TESTNUMBER" %HOSTIP:%PROXYPORT
33</command>
34<features>
35proxy
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>
433
44</errorcode>
45</verify>
46</testcase>
47