ANW-20 hurl HTTP contract-test harness
This commit is contained in:
parent
ec650e6c66
commit
b4a33abd71
50 changed files with 415 additions and 2 deletions
5
tests/hurl/notes/get_one_dotdot_400.hurl
Normal file
5
tests/hurl/notes/get_one_dotdot_400.hurl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# .. path segments are rejected with 400. Use percent-encoding to bypass
|
||||
# the HTTP client's URL normalization; curl/hurl collapse a bare ".."
|
||||
# before the request goes out.
|
||||
GET {{host}}/notes/%2E%2E/etc/passwd
|
||||
HTTP 400
|
||||
Loading…
Add table
Add a link
Reference in a new issue