RE: Square brackets in file names and authz (in VisualSVN 2.5.5)
From: Bert Huijben <bert_at_qqmail.nl>
Date: Thu, 12 Jul 2012 11:45:58 +0200
[Please try to keep the mails in plain-text]
The problem with using a ‘\’ would be that you break the ‘\’ character in existing files to fix ‘]’.
Things might be simpler when defining that lines that start with ‘[‘ and end with ‘]’ should parse everything in between as section markers.
But then, I don’t know how that affects the current comment syntax.
We should really check the source before making a decision.
From: Jason Heeris [mailto:jason.heeris_at_gmail.com]
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
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
This is an archived mail posted to the Subversion Users mailing list.