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