Re: Posted draft of URI comparison finding

At 11:18 02/12/11 -0800, Tim Bray wrote:
>Roy T. Fielding wrote:
>
>>That hardly matters.  Section 2.1 says that %7A and %7a both
>>represent the same octet, and therefore are guaranteed to be the same
>>character regardless of character encoding.
>
>Er, suppose they come from different places that use different 
>character-to-octet mappings.  %61 is 'a' in ASCII and '/' in EBCDIC. 
>Blecch.  Can we ignore this problem? -Tim

Short version: Probably we can ignore it. I'd want to check the final text,
though.

Longer version: If you compare two URIs that may be the same, then
                 you have to assume that the encoding is the same,
                 otherwise you never get anywhere. If the creator of
                 the URI by chance made two with different encodings
                 that match, then both may even contain %7a, and
                 you will never be able to distinguish them, and
                 the creator of these URIs should very clearly be
                 blamed for blatant oversight and negligence.

Regards,    Martin.

Received on Friday, 13 December 2002 10:32:22 UTC