Re: [Fwd: [bug] "svn log" can output invalid XML]
Ben Collins-Sussman wrote:
> The bug here is that control characters are in your log message. Long
> long ago, we prevented control characters from entering the
> repository; they're illegal in repository filenames, and illegal in
> repository log messages as well. The repository should be rejecting
> the invalid data.
That's not actually true. The filesystem backend has no reason to reject
control characters -- it treats property values as opaque blobs of data --
and therefore does no such "protective" work. And as far as I can tell, the
only validation performed by the repository layer is that property names
with "svn:" prefixes don't fall in the "svn:wc:" or other "non-regular"
This protection is provided, IIRC, by the client libraries.
C. Michael Pilato <email@example.com>
CollabNet <> www.collab.net <> Distributed Development On Demand
Received on Wed Aug 8 18:11:54 2007
This is an archived mail posted to the Subversion Dev