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

PyPI API requests should properly redirect when accessed through the router

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: 7.7.3
    • Fix Version/s: None
    • Component/s: Artifactory, PyPI
    • Labels:
      None
    • Location:
      External

      Description

      Steps to reproduce:

      • Configure a local PyPI repository "pypi-local".
      • Configure a baseurl in the global settings
      • Open $BASEURL/artifactory/api/pypi/pypi-local/simple (note the missing trailing slash)

       

      Expected result:

      • Redirect to $BASEURL/artifactory/api/pypi/pypi-local/simple/ (note the trailing slash)

       

      Actual result:

       

      Notes:

      • This correctly works for non-api requests:

        $BASEURL/artifactory/pypi-local -> $BASEURL/artifactory/pypi-local/

      • When explictly providing the header  X-JFrog-Override-Base-Url it is used.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            thomas.weissschuh.ext@zeiss.com Thomas Weißschuh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-26156 -
                SYNCHRONIZED
                • Last Sync Date: