A base URL: an absolute http:/https: URL with no backslash, its scheme followed by
exactly // and the host, no userinfo, no query or fragment, no surrounding whitespace and
no whitespace or control character inside. Request paths are appended to it as a string, so
?/# would swallow every path and whitespace would end up in the request path (new URL()
trims and strips some of it silently). WHATWG ends an http(s) host at a backslash, as at a
/, while text-based code reads on (https://h.example\@other.example), and it skips any
slashes after the scheme and repairs http:host, http:/host and http:///host into
http://host silently: either way the host requested would not be the one typed. Userinfo
would turn into a Basic Authorization header or leak into messages; GENESIS never uses
Basic auth. The reasons never echo the value.
A base URL: an absolute
http:/https:URL with no backslash, its scheme followed by exactly//and the host, no userinfo, no query or fragment, no surrounding whitespace and no whitespace or control character inside. Request paths are appended to it as a string, so?/#would swallow every path and whitespace would end up in the request path (new URL()trims and strips some of it silently). WHATWG ends an http(s) host at a backslash, as at a/, while text-based code reads on (https://h.example\@other.example), and it skips any slashes after the scheme and repairshttp:host,http:/hostandhttp:///hostintohttp://hostsilently: either way the host requested would not be the one typed. Userinfo would turn into a Basic Authorization header or leak into messages; GENESIS never uses Basic auth. The reasons never echo the value.