2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 21:20:36 +08:00
|
|
|
Long: path-as-is
|
|
|
|
Help: Do not squash .. sequences in URL path
|
|
|
|
Added: 7.42.0
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: curl
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --path-as-is https://example.com/../../etc/passwd
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: request-target
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2016-11-16 21:20:36 +08:00
|
|
|
---
|
|
|
|
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.
|