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: location-trusted |
| 4 | Help: Like --location, and send auth to other hosts |
| 5 | Protocols: HTTP |
| 6 | See-also: user |
| 7 | Category: http auth |
| 8 | Example: --location-trusted -u user:password $URL |
| 9 | Added: 7.10.4 |
| 10 | Multi: boolean |
| 11 | --- |
| 12 | Like --location, but will allow sending the name + password to all hosts that |
| 13 | the site may redirect to. This may or may not introduce a security breach if |
| 14 | the site redirects you to a site to which you will send your authentication |
| 15 | info (which is plaintext in the case of HTTP Basic authentication). |