4 ms·
How can detecting URL go wrong? It starts with an obvious prefix and ends at a line end or a space. If the URL contained a space that is not URL encoded, that
by h1d 8y ago
How can detecting URL go wrong? It starts with an obvious prefix and ends at a line end or a space.
If the URL contained a space that is not URL encoded, that would be user's fault.
- em-bee 8y agoit's not as obvious as it looks. maybe someone wants to construct urls like this: wget http://example.com/files/(basename -s .jpg *.jpg).png but ( is a legal character in urls, so fish can't possibly predict which use is desired.