The Data Sanitization Plan
From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-06-25 21:52:31 CEST
Karl and I are talking about how to tackle issues #494 and #667
Essentially, we are imposing an Official set of burdens upon all svn
1. all paths passed to libsvn_* are assumed to be
- using '/' separators
- properly URL-escaped
3. all log messages passed to libsvn_* are assumed to be
Our thoughts are to create three utility routines in libsvn_subr,
svn_sanitize_path()
These utility routines would perform all the necessary transforms on
After that, it's a simple matter of making all of our cmdline client
==> How to implement the sanitization routines
* Karl says apr_file_path_merge() will give us the "canonical" case
* Rumors has it that there exist various apr iconv routines to
* We can easily write a routine to convert '\' into '/'
* The only real question is whether (and how) our cmdline client
svn diff -r3:4 http://path/to/my%20file
Feedback welcome...
---------------------------------------------------------------------
|
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.