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

Re: Filenames with trailing newlines wreak havoc

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 27 Mar 2013 19:19:07 +0100

On Wed, Mar 27, 2013 at 10:01:01AM -0700, Ben Reser wrote:
> > Something like the proposal above, to reject LF only at the FS (or FSFS)
> > layer, and all control characters in libsvn_repos, sounds good to me.
> > We should write unit tests to ensure that the FS layer works
> > properly with all other control characters.
> I really don't like this proposal. I think a major reason why we're
> in this situation is that we've been inconsistent.

FWIW, I agree that there will be few, if any, practical implications
from adding stricter verification to the FS layer. But I don't really
care which layer does the validation, as long as it is being done
somewhere on the server-side.

So I've implemented this proposal in r1461701 and r1461760, and now
we have code for both approaches in our repository history.
I'll let everyone else discuss which approach is better and then
do whatever needs to be done to get a fix shipped.
Received on 2013-03-27 19:19:53 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.