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

Re: Bug: Control char in commit message

From: Andreas J. Koenig <andreas.koenig_at_anima.de>
Date: 2002-12-04 13:23:42 CET

Following up to my own bugreport (^H not allowed in commit message):

To provide further evidence, I checked commit messages with all
256 characters and found that

1. 0x0 is allowed but is interpreted as end of string, so all
   characters after it are cut off

2. decimal character positions 1-8, 11-12, 14-31 are disallowed

3. Control-M (0xd) may lead to troubles if svn decides that you have
   "inconsistent line-endings in source stream, repair flag is off."

I have no good suggestion how this interface *should* work, I'll do my
escaping according to the findings above with perl

    s/([\000-\010\013-\037])/"^".pack("c",ord($1)^64)/eg;

and recommend others to do likewise until this issue is resolved.

-- 
andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 4 13:24:31 2002

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.