mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
e7219c2bdc
Use imperative mood consistently for the first sentence describing an option. "Set this" instead "tell curl to set" or "this sets..." Plus some extra cleanups and rephrasing. Closes #13106
20 lines
490 B
Markdown
20 lines
490 B
Markdown
---
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: path-as-is
|
|
Help: Do not squash .. sequences in URL path
|
|
Added: 7.42.0
|
|
Category: curl
|
|
Multi: boolean
|
|
See-also:
|
|
- request-target
|
|
Example:
|
|
- --path-as-is https://example.com/../../etc/passwd
|
|
---
|
|
|
|
# `--path-as-is`
|
|
|
|
Do 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.
|