You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Max Bowsher <ma...@ukf.net> on 2004/09/04 12:52:58 UTC

Newlines in pathnames

Currently, newlines in pathnames won't be rejected outright by svn, but the 
break all of our supposedly parsable outputs *including dumpfiles*.

I propose that we forbid "\n" and "\r" in filenames everywhere in 
subversion.

Thoughts?

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Newlines in pathnames

Posted by Jon Foster <jo...@jon-foster.co.uk>.
Hi,

Max Bowsher wrote:
 > Currently, newlines in pathnames won't be rejected outright by svn, but
 > the break all of our supposedly parsable outputs *including dumpfiles*.

http://subversion.tigris.org/issues/show_bug.cgi?id=1830

> I propose that we forbid "\n" and "\r" in filenames everywhere in 
> subversion.

I recently posted an (incomplete) patch that tries to do that (amongst
other things).  See the thread "[RFC] Checking paths are legal".

Kind regards,

Jon


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Newlines in pathnames

Posted by Erik Huelsmann <e....@gmx.net>.
> Currently, newlines in pathnames won't be rejected outright by svn, but
> the 
> break all of our supposedly parsable outputs *including dumpfiles*.
> 
> I propose that we forbid "\n" and "\r" in filenames everywhere in 
> subversion.
> 
> Thoughts?

+1.

How about fobidding other control characters too?


bye, Erik.

-- 
Superg�nstige DSL-Tarife + WLAN-Router f�r 0,- EUR*
Jetzt zu GMX wechseln und sparen http://www.gmx.net/de/go/dsl


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org