Annotation of embedaddon/curl/tests/data/test1232, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: # This test is a copy of test 1231, modified to use a HTTP proxy.
! 4: <keywords>
! 5: HTTP
! 6: HTTP GET
! 7: HTTP proxy
! 8: dotdot removal
! 9: </keywords>
! 10: </info>
! 11:
! 12: #
! 13: # Server-side
! 14: <reply>
! 15: <data>
! 16: HTTP/1.1 200 OK
! 17: Content-Length: 6
! 18: Connection: close
! 19:
! 20: -foo-
! 21: </data>
! 22:
! 23: <data1>
! 24: HTTP/1.1 200 OK
! 25: Content-Length: 7
! 26: Connection: close
! 27:
! 28: -cool-
! 29: </data1>
! 30: </reply>
! 31:
! 32: #
! 33: # Client-side
! 34: <client>
! 35: <server>
! 36: http
! 37: </server>
! 38: <name>
! 39: HTTP URL with dotdot removal from path using an HTTP proxy
! 40: </name>
! 41: <command>
! 42: --proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.1232:8990/../../hej/but/who/../1232?stupid=me/../1232#soo/../1232 http://test.remote.haxx.se.1232:8990/../../hej/but/who/../12320001#/../12320001
! 43: </command>
! 44: <features>
! 45: proxy
! 46: </features>
! 47: </client>
! 48:
! 49: #
! 50: # Verify data after the test has been "shot"
! 51: <verify>
! 52: <strip>
! 53: ^User-Agent:.*
! 54: </strip>
! 55: <protocol>
! 56: GET http://test.remote.haxx.se.1232:8990/hej/but/1232?stupid=me/../1232 HTTP/1.1
! 57: Host: test.remote.haxx.se.1232:8990
! 58: Accept: */*
! 59: Proxy-Connection: Keep-Alive
! 60:
! 61: GET http://test.remote.haxx.se.1232:8990/hej/but/12320001 HTTP/1.1
! 62: Host: test.remote.haxx.se.1232:8990
! 63: Accept: */*
! 64: Proxy-Connection: Keep-Alive
! 65:
! 66: </protocol>
! 67: </verify>
! 68: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>