On Tue, Apr 28, 2015 at 03:12:51PM +0200, Brian Preuß wrote: > Hi there, > > it seems that svn diff produces invalid XML if a path contains a bell > characters. Since this character is not allowed in XML it should be > escaped. It seems that svn diff does not to this. Is there an existing > bug for this problem? > > Regards, > > Brian Preuß
Hi Brian, Control characters in pathnames are not actually supported. For a long time the server didn't enforce this, though, only the SVN client did. Since server-side enforcement was lacking it was possible to add such paths with alternative client implenentations such as SVNKit (used in the Eclipse IDE). Current 1.8.x servers will not accept new paths containing newline characters. See http://subversion.tigris.org/issues/show_bug.cgi?id=4340 for why. 1.9 and later servers will take this a step further and start refusing commits which add paths containing any control character, just like svn clients have been refusing for a long time (since 1.0 I believe): $ touch `printf 'bb\aell'` $ svn add bb^Gell svn: E160005: Invalid control character '0x07' in path '/tmp/svn-sandbox/trunk/bb\007el