[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 12 Jul 2012 13:05:15 +0100

Johan Corveleyn wrote on Thu, Jul 12, 2012 at 11:28:18 +0200:
> I think the only character that causes problems is ']' (which ends the
> section name parsing). It seems not too hard to change that parsing

Technically, 0x0A (newline) would likely be a problem too. Not sure
that anyone uses it...

> function to make it handle some kind of escape sequence for ']'

What escape syntax does http://docs.python.org/library/configparser use?

> (perhaps ']]'). Would you care to write a patch [2]?
>
> [1] http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/config_file.c?view=markup
> from line 315 onward (the comment says "Read chars until enounter ']' ...").
> [2] http://subversion.apache.org/docs/community-guide/general.html#patches
>
> --
> Johan
Received on 2012-07-12 14:05:57 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.