[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: URL canonicalization with 1.6 clients and 1.7 servers

From: Branko Čibej <brane_at_xbc.nu>
Date: Fri, 20 Jan 2012 22:47:02 +0100

On 20.01.2012 15:27, Garret Wilson wrote:
> On 1/20/2012 2:59 AM, Philip Martin wrote:
>> 1.7 has stricter rules for canonical URLs (from RFC 3986) than 1.6:
> ...
>> ...
>> - no lowercase % encoding:
>>
>> "http://host/repo/%C3%A5" not "http://host/repo/%c3%a5"
> ...
>> All the above URLs can be used with a 1.7 client because the client
>> converts them to canonical form, but a 1.6 client will not do the
>> conversion and will pass the non-canonical form to the server. A 1.7
>> server will sometimes reject such URLs:
>
> If I could throw my opinion in here even though I'm new...
> canonicalization is a good thing in line with RFC 3986, which says,
> "For consistency, URI producers and normalizers should use uppercase
> hexadecimal digits for all percent-encodings."

"Normalizers should use" does not imply "consumers should reject
anything else". In other words, theh 1.7 server is just a bit too
aggressive in its interpretation of the RFC.

I consider this incompatibility to be a bug.

-- Brane
Received on 2012-01-20 22:47:47 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.