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 06:44:58 +08:00
|
|
|
Long: location-trusted
|
|
|
|
Help: Like --location, and send auth to other hosts
|
|
|
|
Protocols: HTTP
|
|
|
|
See-also: user
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: http auth
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --location-trusted -u user:password $URL
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.10.4
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
|
|
|
Like --location, but will allow sending the name + password to all hosts that
|
|
|
|
the site may redirect to. This may or may not introduce a security breach if
|
2021-10-31 23:34:44 +08:00
|
|
|
the site redirects you to a site to which you will send your authentication
|
|
|
|
info (which is plaintext in the case of HTTP Basic authentication).
|