curl-w32/docs/cmdline-opts/path-as-is.md

500 B

c SPDX-License-Identifier Long Help Added Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl path-as-is Do not squash .. sequences in URL path 7.42.0 curl boolean
request-target
--path-as-is https://example.com/../../etc/passwd

--path-as-is

Tell curl to not handle sequences of /../ or /./ in the given URL path. Normally curl squashes or merges them according to standards but with this option set you tell it not to do that.