[prev in list] [next in list] [prev in thread] [next in thread]
List: subversion-issues
Subject: [Issue 4361] New - case-sensitivity of authz files
From: philip () tigris ! org
Date: 2013-04-25 9:50:12
Message-ID: iz4361 () subversion ! tigris ! org
[Download RAW message or body]
http://subversion.tigris.org/issues/show_bug.cgi?id=4361
Issue #|4361
Summary|case-sensitivity of authz files
Component|subversion
Version|all
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|libsvn_repos
Assigned to|issues@subversion
Reported by|philip
------- Additional comments from philip@tigris.org Thu Apr 25 02:50:12 -0700 2013 -------
Consider an authz file:
[/]
pm = rw
PM = r
When we parse the key=value lines we handle the key case-insensitively so only
one value, the last, gets stored as the second value overrides the first.
However we also store the exact case of the first key and that is what is
checked when querying:
$ svnauthz accessof authz.txt --username PM
no
$ svnauthz accessof authz.txt --username pm
r
the effective line is "pm = r" which is not something that occurs in the file.
dev thread:
http://mail-archives.apache.org/mod_mbox/subversion-dev/201304.mbox/%3C87ppxk55kl.fsf@ntlworld.com%3E
http://svn.haxx.se/dev/archive-2013-04/0541.shtml
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=463&dsMessageId=3054244
To unsubscribe from this discussion, e-mail: [issues-unsubscribe@subversion.tigris.org].
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic