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
{{ message }}
Repository navigation
Mask password passed in as command line arg like mysql #3680
I don't think we should clear the entire proxy string just because someone might pass their credentials there. We could consider scrubbing out them from the string, but since we have a working way to do this I don't think we have to.
Activity
bagder commentedon Mar 13, 2019
If you provide the name and password with the dedicated
-Uor--proxy-userflag then curl will (attempt to) hide it.bagder commentedon Mar 14, 2019
I don't think we should clear the entire proxy string just because someone might pass their credentials there. We could consider scrubbing out them from the string, but since we have a working way to do this I don't think we have to.
ericcurtin commentedon Mar 14, 2019
Yes -U masks just fine. Good to know. Might be worth adding to man page.
ericcurtin commentedon Mar 14, 2019
I opened a PR but you were too fast for me @bagder #3684
I can close mine.
ericcurtin commentedon Mar 14, 2019
Thanks 😃
curl.1: --user and --proxy-user are hidden from ps output
bagder commentedon Mar 14, 2019
Hehe, I was a whole minute faster! 😆
curl.1: --user and --proxy-user are hidden from ps output
bagder commentedon Mar 14, 2019
@ericcurtin are you ok with us closing this issue now?
ericcurtin commentedon Mar 14, 2019
👍