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

Deleting Python packages with an exclamation mark (!)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Not a Bug
    • Affects Version/s: 6.2.0
    • Fix Version/s: None
    • Component/s: PyPI
    • Labels:
      None

      Description

      Steps to reproduce

      1. Create a local PyPI repo (eg. test-repo)
      2. Upload a package with a ! in the version (eg. package-1!201804031351+ne9c86eb)
      3. Try to delete it
        1. curl -XDELETE http://arti/artifactory/test-repo/package/1!201804031351%2Bne9c86eb/package-1!201804031351+ne9c86eb-py2.7.egg

      That will result in a 404 HTTP status code response.

      Conclusion

      I've tried passing %21 instead of ! and even escaping it with \. Nothing worked. Not even downloading from that URL works. Notice that deleting packages without ! in their versions work fine.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rafael Rafael Cunha de Almeida
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: