22 lines
626 B
Markdown
Raw Permalink Normal View History

2024-05-15 15:20:32 -04:00
---
2023-12-11 20:30:44 -05:00
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: location-trusted
2024-05-15 15:20:32 -04:00
Help: Like --location, but send auth to other hosts
2023-12-11 20:30:44 -05:00
Protocols: HTTP
Category: http auth
Added: 7.10.4
Multi: boolean
2024-05-15 15:20:32 -04:00
See-also:
- user
Example:
- --location-trusted -u user:password $URL
2023-12-11 20:30:44 -05:00
---
2024-05-15 15:20:32 -04:00
# `--location-trusted`
2023-12-11 20:30:44 -05:00
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
2024-05-15 15:20:32 -04:00
site redirects you to a site to which you send your authentication info (which
is clear-text in the case of HTTP Basic authentication).