Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-61

Wagon File provider doesn't check basedir for existence on connect

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0-beta-1
    • 1.0-beta-2
    • wagon-file
    • None
    • Used in Archiva for "file://" repository proxying

    Description

      The openConnection() in FileWagon does not check the repository baseDir. If the file URL points to an unexisting or read-protected path, it may throw a ConnectionException.

      Attached patch adds exists and canRead checks for repository baseDir.

      Attachments

        1. patch.patch
          1 kB
          nicolas de loof

        Activity

          People

            joakime Joakim Erdfelt
            ndeloof nicolas de loof
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: