1<testcase> 2<info> 3# verify that dotdot removal can be disabled! 4<keywords> 5HTTP 6HTTP GET 7HTTP proxy 8</keywords> 9</info> 10 11# 12# Server-side 13<reply> 14<data> 15HTTP/1.1 200 OK 16Content-Length: 6 17Connection: close 18 19-foo- 20</data> 21 22<data1> 23HTTP/1.1 200 OK 24Content-Length: 7 25Connection: close 26 27-cool- 28</data1> 29</reply> 30 31# 32# Client-side 33<client> 34<server> 35http 36</server> 37<name> 38HTTP _without_ dotdot removal 39</name> 40<command> 41--path-as-is --proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.%TESTNUMBER:8990/../../hej/but/who/../%TESTNUMBER?stupid=me/../%TESTNUMBER#soo/../%TESTNUMBER http://test.remote.haxx.se.%TESTNUMBER:8990/../../hej/but/who/../%TESTNUMBER0001#/../%TESTNUMBER0001 42</command> 43<features> 44proxy 45</features> 46</client> 47 48# 49# Verify data after the test has been "shot" 50<verify> 51<protocol> 52GET http://test.remote.haxx.se.%TESTNUMBER:8990/../../hej/but/who/../%TESTNUMBER?stupid=me/../%TESTNUMBER HTTP/1.1 53Host: test.remote.haxx.se.%TESTNUMBER:8990 54User-Agent: curl/%VERSION 55Accept: */* 56Proxy-Connection: Keep-Alive 57 58GET http://test.remote.haxx.se.%TESTNUMBER:8990/../../hej/but/who/../%TESTNUMBER0001 HTTP/1.1 59Host: test.remote.haxx.se.%TESTNUMBER:8990 60User-Agent: curl/%VERSION 61Accept: */* 62Proxy-Connection: Keep-Alive 63 64</protocol> 65</verify> 66</testcase> 67