2
0

path-as-is.d 469 B

12345678910111213
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: path-as-is
  4. Help: Do not squash .. sequences in URL path
  5. Added: 7.42.0
  6. Category: curl
  7. Example: --path-as-is https://example.com/../../etc/passwd
  8. See-also: request-target
  9. Multi: boolean
  10. ---
  11. Tell curl to not handle sequences of /../ or /./ in the given URL
  12. path. Normally curl squashes or merges them according to standards but with
  13. this option set you tell it not to do that.