Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-16392

Nexus does not interpret + signs at URLs correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.14.4, 2.14.5, 3.12.1, 3.13.0, 2.14.10, 2.14.12, 2.14.13, 2.14.18
    • Fix Version/s: 3.14.0
    • Component/s: NuGet

      Description

      See https://github.com/NuGet/Home/issues/3858 , I have the same issue. What I observe when calling NCR's Nexus installation:

      ```
      > http://***.com/nexus/service/local/nuget/repo-name/Nuget.Name/1.2.3+09d6b7c
      404 Path /Nuget.Name/1.2.3 09d6b7c/Nuget.Name-1.2.3 09d6b7c.nupkg not found in local storage of repository "Repository" [id=repo-name]
      ```

      Note the `+` sign missing in the response. Now when I escape manually:

      ```
      > http://***.com/nexus/service/local/nuget/repo-name/Nuget.Name/1.2.3%2B09d6b7c
      [download offered]
      ```

      According sources for simpletons like me like ( https://stackoverflow.com/a/2678602/577067 ), it seems to me that you should not replace + by space in the path component of URLs. You should present me with the NuGet package for the first query.

      Until this is fixed, we can't use SemVer 2 with Nexus.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jtom Joe Tom
              Reporter:
              lukas.lansky Lukáš Lánský
              Last Updated By:
              Peter Lynch Peter Lynch
              Team:
              NXRM - Cypher
              Votes:
              2 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title