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