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

Re: What is the permissible character set for @group references in path-based auth?

From: sebb <sebbaz_at_gmail.com>
Date: Sat, 14 Dec 2019 13:08:02 +0000

On Sat, 14 Dec 2019 at 12:03, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:

> sebb wrote on Sat, 14 Dec 2019 09:12 +00:00:
> > The only documentation I could find [1] defines a key using <text-char>:
> >
> > <text-char> ::= (any character except <LF>)
> >
> > However the character domain is not specified as far as I can tell.
>
> I don't know where you're quoting that from. It's not on the linked
> page or anywhere else that I can find. It's also patently false because
> '=' and ' '
> can't be parts of a group name, because if they were then «@foo = rw» would
> be misparsed.
>
>
I should have been clearer.
I did not mean that a key consists of text-char only.

The key is defined in BNF in the Formal Definition section (once opened).
Follow the BNF through, and one of refs is <text-char>:

key => key-cont => key-char => text-char
(where => means refers to)

i.e. the key definition uses text-char.

So in order to know what is allowed in a key, one needs to know what a
character is.

> > [1]
> https://cwiki.apache.org/confluence/display/SVN/Configuration+File+Syntax
>
Received on 2019-12-14 14:08:18 CET

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.