5 ms·
Shortest address is http://1 http://1 Not on the internet, though. Just on the network. Kinda surprised Linux routes 0.0.0.1 to my router, when used as a desti
by megous 4y ago
Shortest address is http://1 http://1 Not on the internet, though. Just on the network.
Kinda surprised Linux routes 0.0.0.1 to my router, when used as a destination address. Might be fun to use it as a local redirector whitout having to do any DNS shenanigans.
Edit: yep, it works
- Aachen 4y agoShorter: ftp://1 Anyone knows a shorter protocol name that is widely supported/known?
- Nextgrid 4y agoI think on Windows machines you can use `\\` to access a machine via SMB, so `\\1` would be the shortest if you're happy with Windows-only.
- easrng 4y ago//1 turns into file:///1 everywhere AFAIK
- zzo38computer 4y agoBut "//1" is not a full URL, and any URL with "file:" is not "on the Internet".
- easrng 4y ago//1 is a full (relative) url
- vesinisa 4y agoBoth Chrome and Firefox have actually recently removed support for ftp:// for security reasons.
- zzo38computer 4y agoIt may be, but that does not disqualify it being "shortest URLs on the internet", I think. However, maybe it should not count if there is not a FTP server at that address, though.
- megous 4y agows://1
- Aachen 4y agoSounds like a winner to me! The Windows share path isn't a URL per the spec and this would be, afaik.
- eichin 4y agoThat's new in 2019 (0/8 was prohibited), and there is a story... https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=96125bf9985a https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
- megous 4y agoAmazing! Thanks for digging that out. :)