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

SVNListParentPath feature doesn't work when svn authz is used.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.x
    • 1.7.0
    • mod_authz_svn
    • None

    Description

      This issue is about SVNListParentPath being practically unusable if you use the
      Subversion authorization configuration. 
      
      This is a configuration that should work:
      <Location /svn>
        DAV svn
        SVNParentPath "C:\trainenv\repositories"
        SVNListParentPath on
      
        SVNIndexXSLT  http://localhost:10080/style/svnindex.xsl
      
        AuthzSVNAccessFile C:\trainenv\repositories\svnaccess.conf
        Require valid-user
      
        # how to authenticate a user
        AuthType Basic
        AuthName "Subversion repository"
        AuthUserFile ..\svn\htpasswd
      </Location>
      
      You can get it to work if you change the Location to '/svn/', but this requires
       that users add a '/' to all urls when browsing a repository.
      
      This issue has been reported on the list here:
      http://www.red-bean.com/pipermail/svnbook-dev/2006-May/002033.html
      and here:
      http://svn.haxx.se/dev/archive-2006-01/0405.shtml
      
      The latter url contains an analysis of the issue preliminary patch from David
      Anderson.
      
      I didn't test with a trunk build, but since the relevant code hasn't changed I
      presume it won't work on trunk either.
      

      http://svn.haxx.se/dev/archive-2006-01/0405.shtml

      Attachments

        1. 4_c933194_svn_path_canonicalize.patch
          3 kB
          Subversion Importer
        2. 3_2753-64-bit-fix.patch
          2 kB
          Subversion Importer
        3. 2_2753.patch
          1 kB
          Subversion Importer
        4. 1_patch-subversion-mod_authz_svn-mod_authz_svn.c
          1 kB
          Subversion Importer

        Activity

          People

            Unassigned Unassigned
            lgo Lieven Govaerts
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: