anwesen/tests/hurl/notes/get_one_dotdot_400.hurl

5 lines
220 B
Text

# .. 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