jimrandomh comments on Spring 2010 Meta Thread - Less Wrong
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (141)
This is not a link.
Are you sure about that?
The empty string in the hostname position denotes localhost. So you have the same as http://localhost. The linkness of your link is syntactically present and referent-ly observer-dependent.
This is an invocation of authority. The URL in the grandparent post does not match the grammar specified in RFC 1738, and none of the browsers I have on hand to test with will follow it. Which browser sent you to localhost?
1738 is insufficiently formal, and AFAIK is superseded by 2616 and 3986. 3986 (URI Generic Syntax) says that the host component is required, but one of the alternatives for it is “reg-name” which may be zero-length, but:
RFC 2616 (HTTP/1.1) specifies the host as being non-optional and using the grammar from RFC 2396, which defines it such that the empty string is not included. Therefore my previous claim was incorrect per specifications.
Safari 4.0.4 Mac implements http:// and http:///foo as equivalent to http://localhost/ and http://localhost/foo/, possibly by analogy to file:///foo/.
FWIW, chrome opens an "about:blank" tab, not localhost.