You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I reproduced this issue with a default curl ubuntu package and with the recent curlimages/curl docker image. Besides as you can see the args are masked, but not in case, when values provided to a short option without a whitespace.
curl attempts to clear some flags to hide them from snooping neighbors
(on platforms where it works). For example the credentials provided with
-u. Previously it would only do that if there was a space between the
option and the credentials as in "-u joe:s3cr3t" but not when done
without a separating space as in "-ujoe:s3cr3t".
This addresses that previous shortcoming.
Reported-by: kayrus on github
Fixes#16396
I did this
Run these commands in Linux environment (tested in zsh, bash, posix sh)
curl 8.8.8.8:444 -u user:pass -ufoo:bar -U baz:qux -U123:456 --user USER:PASS
using root or other userps ax
in another terminal on the same host under another unprivileged user:I expected the following
curl/libcurl version
operating system
ubuntu 24.04
see also
Initial implementation: 7f67a28
Documentation discussion #3680
A note added into docs 2af732f
The text was updated successfully, but these errors were encountered: