Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-14027

'.' character cannot be used as a directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 4.6.1
    • Fix Version/s: None
    • Component/s: HttpRepo
    • Labels:
      None

      Description

      When a user creates a compressed file (Such as a .zip or .tar.gz) with a lone '.' as a directory name within it, Artifactory will show the directory and its contents in the UI.

      However, when the user attempts to download individual artifacts from the directory, they will receive a 404 error. The error ignores the '.' directory:

      http://localhost:8081/artifactory/example/./foo.txt

      Becomes:

      http://localhost:8081/artifactory/example/foo.txt

      This looks to be because of Artifactory's HTTP directory structure using '.' as the symbol for the current directory. Artifacts in the UI are viewable and trying to download them results in an error, which is not expected behavior.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            patrickr Patrick Russell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: