mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
fe9f68fa61
In an effort to increase the readability of the "--help all" output on narrow (80 column) terminals. Co-authored-by: Jay Satiro Closes #13169
22 lines
626 B
Markdown
22 lines
626 B
Markdown
---
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: location-trusted
|
|
Help: Like --location, but send auth to other hosts
|
|
Protocols: HTTP
|
|
Category: http auth
|
|
Added: 7.10.4
|
|
Multi: boolean
|
|
See-also:
|
|
- user
|
|
Example:
|
|
- --location-trusted -u user:password $URL
|
|
---
|
|
|
|
# `--location-trusted`
|
|
|
|
Like --location, but allows sending the name + password to all hosts that the
|
|
site may redirect to. This may or may not introduce a security breach if the
|
|
site redirects you to a site to which you send your authentication info (which
|
|
is clear-text in the case of HTTP Basic authentication).
|