On Wed, Mar 21, 2007 at 12:13:31PM -0400, C. Michael Pilato wrote:
> > In the past, there've been discussions about where validation should
> > occur. Shouldn't this kind of validation occur in the repository or
> > filesystem layers, or should the filesystem just treat a filename as a
> > string of bytes?
> The filesystem lives behind and API that demands UTF-8, Subversion-canonical
> So I think we want parity with the client side in terms of where we check
> for valid paths. "Userland" input is expected to be misshapen and crazy,
> because it comes from users (not from programmers who know how to follow the
> rules of an API). So the borders we guards are the ones between the users
> and their entry point into our system.
Interesting. Bearing in mind that we have direct users of the svn_fs_*
API, I'd place the interface boundary around each module, for pretty
much the same reasons as you'd draw it outside of mod_dav_svn.
(Incidentally, where can I find these "programmers who know how to
follow the rules of an API"? :-))
Received on Thu Mar 22 12:49:25 2007
- application/pgp-signature attachment: stored