Bugzilla – Bug 20602
Last modified: 2013-01-10 10:31:00 UTC
I believe that
may also be a possible expected result.
OK. The LEIRI spec says spaces SHOULD NOT be %-encoded, but it doesn't say MUST NOT, so I will allow this result.
Thanks. Are you basing you response on the text
"Conversion from a LEIRI to an IRI or a URI must be performed only when absolutely necessary and as late as possible in a processing chain. In particular, neither the process of converting a relative LEIRI to an absolute one nor the process of passing a LEIRI to a process or software component responsible for dereferencing it should trigger percent-encoding."
or something else?
Yes, that's the text I was relying on. Given that we are dealing with a relative LEIRI that is not an IRI, the advice
the process of converting a relative LEIRI to an absolute one ... should [not] trigger percent-encoding
seems to cover this situation rather precisely.
Confirmed fixed. Thanks.
I'd argue that because resolve-uri returns a new URI, the implementation is at liberty to return a URI, IRI or LEIRI regardless of the input. Perhaps this could be clarified in the specification? It's not _just_ converting from a relative to an absolute URI.