path-as-is.d 469 B

123456789101112
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, 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. ---
  10. Tell curl to not handle sequences of /../ or /./ in the given URL
  11. path. Normally curl will squash or merge them according to standards but with
  12. this option set you tell it not to do that.