This is how HTTP Basic authentication works. It's part of the HTTP URI standard. And wget is smart enough to hide the password when showing its messages on stderr, but then goes ahead and dumps it in the xattr verbatim.
Sometimes the RFCs are bullshit. If people followed the RFCs to the letter anyone could DoS any server, because they require vulnerable implementations of things like TCP. This is one of those times.
-
-
There is a huge gap between "I'm deliberately putting a password in URIs so I can paste them in a command line in the privacy of my home" to "hey browser please attach my password invisibly to every file I download so I can unknowingly hand it to someone in a USB stick"
-
"The RFCs say I can get away with this" doesn't mean that doing something isn't stupid. The RFCs do not aim to forbid all stupid behavior.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.