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

RPM remote repository returns a 404 error while downloading the files which has a colon ( : ) in the path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.41.6
    • Fix Version/s: None
    • Component/s: RPM
    • Labels:
    • Environment:

      Artifactory version: All  7.x versions

      DB type & Version : Postgres

      Is this an HA env? - No

      Is this On-Prem or SaaS? - On-prem & SaaS

      Description

      Problem description: 

      For example, consider we have an RPM remote repository pointing to http://download.opensuse.org/repositories/ and while resolving any files which has a colon ( : ) in the path, it returns a 404 response and the download fails. 

      https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_8/devel:kubic:libcontainers:stable.repo 

      Expected behavior:

      We should be able to successfully download the files which have a colon ( : ) in the file path

      Steps to reproduce:

      1. Create an RPM remote repository pointing to http://download.opensuse.org/repositories.

      2. Try downloading any sample file which has a colon ( : ) in the file path as below and it fails with a 404 response.

      vigneshc@vigneshc-mac rpm % wget http://test.jfrog.info:8081/artifactory/rpm-remote/devel:/kubic:/libcontainers:/stable/CentOS_8/devel:kubic:libcontainers:stable.repo
      --2022-07-25 23:08:05--  http://test.jfrog.info:8081/artifactory/rpm-remote/devel:/kubic:/libcontainers:/stable/CentOS_8/devel:kubic:libcontainers:stable.repo
      Resolving test.jfrog.info (test.jfrog.info)... 100.XY.XY.15
      Connecting to test.jfrog.info (test.jfrog.info)|100.XY.XY.15|:8081... connected.
      HTTP request sent, awaiting response... 404 Not Found
      2022-07-25 23:08:05 ERROR 404: Not Found.
      
      

       Possible workaround:   No

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              vigneshc Vignesh C
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: