2 ms·
What? Look at the URL in your browser right now. It has a bunch of x=y parameters. That's how URLs work.
by coldpie 5y ago
What? Look at the URL in your browser right now. It has a bunch of x=y parameters. That's how URLs work.
- Sophira 5y agoThe parent comment is talking about what would happen if, for example, you typed this in bash to try to download a video: $ youtube-dl https://www.youtube.com/watch?v=dQw4w9WgXcQ&pp=sAQA https://www.youtube.com/watch?v=dQw4w9WgXcQ&pp=sAQA In this case, bash would interpret it as "run youtube-dl in the background with the parameter 'https://www.youtube.com/watch?v=dQw4w9WgXcQ https://www.youtube.com/watch?v=dQw4w9WgXcQ', then execute the command 'pp=sAQA' to set the 'pp' variable". The comment is joking that if YouTube decided to replace "pp=sAWA" with "reboot", they could get a lot of people to accidentally reboot their machines instead because they didn't quote the URL.
- chrisseaton 5y agoThat was always a problem if you just copy-and-pasted URLs into your terminal. You need to quote them. It's not new.
- villgax 5y agoIt used to work in bash but doesn't in zsh