URL canonicalization with 1.6 clients and 1.7 servers
From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 20 Jan 2012 10:59:50 +0000
1.7 has stricter rules for canonical URLs (from RFC 3986) than 1.6:
- no default port:
"http://host/repo" not "http://host:80/repo"
- no lowercase % encoding:
"http://host/repo/%C3%A5" not "http://host/repo/%c3%a5"
- no unnecessary % encoding:
"http://host/repo/A" not "http://host/repo/%41"
All the above URLs can be used with a 1.7 client because the client
$ svn-1.6 co http://localhost:80/repo
although some commands work:
$ svn-1.6 ls http://localhost:80/repo
So this is a break in compatibility, which we justify by saying that the
Should we attempt backwards compatibility or should we simply require
-- uberSVN: Apache Subversion Made Easy http://www.uberSVN.comReceived on 2012-01-20 12:00:28 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.