A base URL (baseUrl, --base-url): an http(s) URL (httpUrlProblem) without a
query or fragment, without a backslash, and with its scheme followed by exactly // and
the host. Request paths are appended to the base URL as a string, so a query would end up
in front of them and a fragment would swallow the path and every filter. None of the
reasons repeats a password:
a backslash: WHATWG ends an http(s) host at one, as at a /, while text-based code reads
on, so https://u:pw@a.example\@b.example was checked as a.example by one reader and as
b.example by another; the message never quotes the value;
http:host, http:/host, http:///host (or HTTPS:host): WHATWG skips any slashes after
an http(s) scheme and repairs the URL silently, so the host requested would not be the one
typed, and code that reads the userinfo after :// would miss it.
A base URL (
baseUrl,--base-url): an http(s) URL (httpUrlProblem) without a query or fragment, without a backslash, and with its scheme followed by exactly//and the host. Request paths are appended to the base URL as a string, so a query would end up in front of them and a fragment would swallow the path and every filter. None of the reasons repeats a password:/, while text-based code reads on, sohttps://u:pw@a.example\@b.examplewas checked as a.example by one reader and as b.example by another; the message never quotes the value;http:host,http:/host,http:///host(orHTTPS:host): WHATWG skips any slashes after an http(s) scheme and repairs the URL silently, so the host requested would not be the one typed, and code that reads the userinfo after://would miss it.