Brane: I just read through this thread. Your proposal makes a lot of sense. To me, it's one of those things that should go into a new version (not a patch). And there should be a nit-picky script to point out "strange stuff" (like the example that Julian posed).
Cheers. Doug On Mon, Dec 3, 2018 at 10:31 AM Branko Čibej <br...@apache.org> wrote: > On 03.12.2018 16:07, Michael Pilato wrote: > > On 12/3/18 3:15 AM, Julian Foad wrote: > >> It makes me uncomfortable to depart from standard parsing. What if > >> users are relying on Python ConfigParser or other compatible parsing > >> as part of their Subversion authz infrastructure? > > We needn't keep this hypothetical. ViewVC is using (a slightly > > modified[*]) Python ConfigParser in this way. > > > > -- Mike > > > > [*] By default, ConfigParser (well, really the RawConfigParser it > > subclasses) lowercases option names, which can cause username/group > > matching to fail. So ViewVC's code replaces the optionxform method of > > ConfigParser with a noop lambda function. (See > > > https://docs.python.org/2/library/configparser.html#ConfigParser.RawConfigParser.optionxform > > for official docs.) > > > Interesting. Of course, our ConfigParser-like implementation already has > the option to treat section names as case-sensitive, and this option is > used ... that's righjt, by the authz file parser. > > -- Brane > > -- *DOUGLAS B ROBINSON* SENIOR PRODUCT MANAGER T +1 925 396 1125 *E* doug.robin...@wandisco.com -- * <http://wandisco.com>* **The LIVE DATA Company *Find out more *wandisco.com <http://wandisco.com/>* <https://www.wandisco.com/welcome-live-data-world-video> * THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY AND MAY BE PRIVILEGED If this message was misdirected, WANdisco, Inc. and its subsidiaries, ("WANdisco") does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this email or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this email message are the author's own and may not reflect the views and opinions of WANdisco, unless the author is authorized by WANdisco to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by WANdisco. Although WANdisco operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed.