Open
Description
Throws in:
Lines 178 to 184 in fbc691a
Because _computeUrl
returns a URI with a relative path in:
Lines 318 to 320 in fbc691a
From https://tools.ietf.org/html/rfc3986#section-3.3
In addition, a URI reference (Section 4.1) may be a relative-path reference, in which case the first path segment cannot contain a colon (":") character.
Hence, we see that Uri(path: 'a:a').path
is URL-encoded, because it's a relative URL and not absolute URL unlike requestedUri
which is absolute, hence, colon is not encoded in requestedUri.path
, and we get an ArgumentError
.