Re: Filenames with trailing newlines wreak havoc
Stefan Sperling wrote on Tue, Mar 26, 2013 at 17:27:00 +0100:
> On Tue, Mar 26, 2013 at 06:10:35PM +0200, Daniel Shahaf wrote:
> > I'd call it a DoS if you can commit such a file and can't later 'svn rm
> > URL' it.
> You cannot 'svnsync' the repository anymore, even if you rm the URL.
> So you can DoS a master/slave setup and force the slave to be
> out-of-date with no way to catch up until the revision is obliterated
> or repaired.
Fair enough. Infra would be interested in a pre-commit hook script that
checks for control characters in filenames and aborts the transaction.
Received on 2013-03-26 17:29:56 CET
This is an archived mail posted to the Subversion Dev