Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 HTTP proxy
      7 </keywords>
      8 </info>
      9 
     10 # Server-side
     11 <reply>
     12 <connect>
     13 HTTP/1.1 200 OK
     14 We-are: good
     15 
     16 </connect>
     17 
     18 </reply>
     19 # Client-side
     20 <client>
     21 <server>
     22 http
     23 http-proxy
     24 </server>
     25 <tool>
     26 lib1529
     27 </tool>
     28  <name>
     29 HTTP request-injection in URL sent over proxy
     30  </name>
     31  <command>
     32  "http://the.old.moo:%HTTPPORT/1529" %HOSTIP:%PROXYPORT
     33 </command>
     34 </client>
     35 
     36 # it should be detected and an error should be reported
     37 <verify>
     38 # 3 == CURLE_URL_MALFORMAT
     39 <errorcode>
     40 3
     41 </errorcode>
     42 </verify>
     43 </testcase>
     44