-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add description of effect of --location-trusted on cookie #14471
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is indeed details we should clarify!
docs/cmdline-opts/location.md
Outdated
When authentication or cookie is used, curl only sends its credentials to the | ||
initial host. If a redirect takes curl to a different host, it does not get the | ||
user+password or cookie pass on. See also --location-trusted on how to change | ||
this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to clarify the cookie use. Because normally cookies are only sent to the correct host names so this extra precaution is only for when you "force" cookies explicitly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about this description now?
For CURLOPT_FOLLOWLOCATION and CURLOPT_UNRESTRICTED_AUTH Ref: #14471
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned
d08db47
to
a27f996
Compare
Please also fix the "badwords" error:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see previous comment
Thanks! |
Follow-up to 5fcf969 Bug: #14471 (review) Reported-by: Joshix-1 on github
No description provided.