summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/path-as-is.d
blob: fb87def947c26d52e56dc22c4a0d5e9b5f1a40ae (plain)
1
2
3
4
5
6
7
8
9
Long: path-as-is
Help: Do not squash .. sequences in URL path
Added: 7.42.0
Category: curl
Example: --path-as-is https://example.com/../../etc/passwd
---
Tell curl to not handle sequences of /../ or /./ in the given URL
path. Normally curl will squash or merge them according to standards but with
this option set you tell it not to do that.