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

Match paths against authz rules in case sensitive way.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.7.0
    • mod_authz_svn
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: