If you have an <a>
element with attribute href
set to an URI without the //
, weird things happenโฆ
- Same as base URI's scheme (which is HTTPS).
- Parsed as scheme followed by relative path component.
- Behavior is described in RFC 2396: Uniform Resource Identifiers (URI): Generic Syntax page 32, which itself refers to behavior mentioned in RFC 1630: URIs in WWW page 10.
- Scheme is different from base URI's scheme.
- Parsed as scheme followed by hostname.