mirror of
https://github.com/curl/curl.git
synced 2025-03-01 15:15:34 +08:00
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
12 lines
477 B
Makefile
12 lines
477 B
Makefile
Long: location-trusted
|
|
Help: Like --location, and send auth to other hosts
|
|
Protocols: HTTP
|
|
See-also: user
|
|
Category: http auth
|
|
Example: --location-trusted -u user:password $URL
|
|
---
|
|
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
|
|
the site redirects you to a site to which you'll send your authentication info
|
|
(which is plaintext in the case of HTTP Basic authentication).
|