Skip to content

Instantly share code, notes, and snippets.

@winny-
Last active August 29, 2015 14:02
Show Gist options
  • Save winny-/44e87e0c6ad974cd29c1 to your computer and use it in GitHub Desktop.
Save winny-/44e87e0c6ad974cd29c1 to your computer and use it in GitHub Desktop.

If you have an <a> element with attribute href set to an URI without the //, weird things happen…

  • Scheme is different from base URI's scheme.
  • Parsed as scheme followed by hostname.

Compatiblity

user agent handles (1) handles (2) works in input bar/from command line
Firefox
Chrome
Opera
Safari
XXXTerm
IE
wget -r
lynx
curl N/A N/A

Research

Don't mind this. I prefer writing things down to bookmarks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment