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

Inconsistency in get_dir2() for ra_dav

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.x
    • 1.5.0
    • libsvn_ra_neon
    • None

    Description

      The way absolute paths (those starting with a slash character), when passed to
      get_dir2() are treated differs per ra backend. 
      
      ra_local and ra_svn both treat a path that starts with a slash to mean a path
      relative to the current ra context path. ra_dav treats it as a path relative to
      the host.
      
      Even if passing a path starting with a / to get_dir2() is forbidden, the
      behaviour should be consistent across backends.
      

      Original issue reported by jrvernooij

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: