xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | c: Copyright (C) 1998 - 2022, 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 will squash or merge them according to standards but with |
| 13 | this option set you tell it not to do that. |