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

Re: svn_fs_lock multiple paths

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Fri, 7 Feb 2014 13:28:51 +0000 (GMT)

Branko Čibej wrote:
> On 07.02.2014 12:55, Julian Foad wrote:
>> I don't know why the FS API allows non-canonical paths in the first place
>> but (assuming the whole FS API is fairly consistent about this, which I
>> haven't checked)
> Because we realized some time ago that sanitizing data only in the
> client or repos layers is not good enough; the FS API is as public
> as any other, and if we canonicalize paths in svn_client, we have to
> do the same in svn_fs.

I don't quite follow.  The thing is, in most of our APIs (including svn_client) we *don't* canonicalize; rather, we *require* canonical paths.

- Julian
Received on 2014-02-07 14:36:13 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.