In §6.1 (CRI to URI conversion) when defining the path rules we say (note the "Otherwise"):
If the discard item is not present and the CRI reference contains an authority that is true, the path component of the URI reference is prefixed by the zero-length string. Otherwise, the path component is prefixed by a slash (/) character.
So, it'd seem that prefixing with / applies to the null authority as well as a real authority. Following this interpretation [null, ["a"]] would convert into //a/, whilst what we probably want is //a instead?
In §6.1 (CRI to URI conversion) when defining the path rules we say (note the "Otherwise"):
If the discard item is not present and the CRI reference contains an authority that is true, the path component of the URI reference is prefixed by the zero-length string. Otherwise, the path component is prefixed by a slash (
/
) character.So, it'd seem that prefixing with
/
applies to thenull
authority as well as a real authority. Following this interpretation[null, ["a"]]
would convert into//a/
, whilst what we probably want is//a
instead?