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

Re: Square brackets in file names and authz (in VisualSVN 2.5.5)

From: Jason Heeris <jason.heeris_at_gmail.com>
Date: Thu, 12 Jul 2012 17:36:44 +0800

On 12 July 2012 17:28, Johan Corveleyn <jcorvel_at_gmail.com> wrote:

> I think the only character that causes problems is ']' (which ends the
> section name parsing). It seems not too hard to change that parsing
> function to make it handle some kind of escape sequence for ']'
> (perhaps ']]'). Would you care to write a patch [2]?
>

I doubt I'll have time to write a patch any time in the next few days, but
I'll file the bug now and take a look at writing a patch next week.

I'd suggest avoiding inconsistencies like the double-]. I certainly
wouldn't think to try that. It might be better to use a backslash sequence,
or simply capture everything up to the *last* "]" on a line instead of the
first. I don't think that would be more complex than needing to detect a
"]]" ...but then, I haven't written the patch :P

— Jason
Received on 2012-07-12 11:37:20 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.