Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3781

Match paths against authz rules in case sensitive way.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 1.7.0
    • Component/s: mod_authz_svn
    • Labels:
      None

      Description

      Repo name in disk: /repositories/ABC
      
      <AuthnProviderAlias file file-users>
        AuthUserFile "conf.d/svn_auth_file"
      </AuthnProviderAlias>
      <Location /svn>
         DAV svn
         SVNParentPath "/repositories"
         AuthType Basic
         AuthName Subversion
         AuthBasicProvider file-users
         AuthzSVNAccessFile "conf.d/svn_access_file"
         Require valid-user
      </Location>
      
      cat conf.d/svn_access_file
      [AbC:/]
      admin = rw
      
      --------------------------
      
      With the above authz I could checkout /svn/ABC but could *not* commit.
      
      What is inconsistent is why checkout works(unexpected) while commit fails(expected).
      
      We need to check why checkout authorizer does it in a case insensitive way while
      commit authorizer do the same in a case sensitive way.
      

      Original issue reported by kameshj

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                subversion-importer Subversion Importer
                Reporter:
                subversion-importer Subversion Importer
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: