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

npm http fetch GET 500 / Non URL-safe name: @babel%2fcode-frame

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Out of scope
    • Affects Version/s: 3.29.2
    • Fix Version/s: None
    • Component/s: NPM
    • Labels:
      None
    • Environment:
      Nexus PRO 3.29.2-02

      On the client side:

      Maven 3.6.3/frontend-maven-plugin 1.11.2

      Node.js: 14.16.0 , npm 7.6.3

      Description

      Recieving certain npm modules over npm-proxy/npm-group-repository leads to:

      npm http fetch GET 500  https://mynexus.com/repository/npm_my_group/@mrmlnc%2freaddir-enhanced  70126ms attempt #3

      Error in logviewer:

      org.sonatype.nexus.repository.npm.internal.NpmHandlers - Error: GET /@mrmlnc%2freaddir-enhanced: Status{successful=false, code=400, message='null'} - Non URL-safe name: @mrmlnc%2freaddir-enhanced
      java.lang.IllegalArgumentException: Non URL-safe name: @mrmlnc%2freaddir-enhanced

      If module path contains a slash there is the case.

      With other npm modules there is no problem:
      [INFO] npm http fetch GET 200 https://mynexus.com/repository/npm_my_group/mixin-deep 383ms
      [INFO] npm timing metavuln:packument:mixin-deep Completed in 385ms

       

      Systeminfo:

      Nexus PRO 3.29.2-02

      On the client side:

      Maven 3.6.3/frontend-maven-plugin 1.11.2

      Node.js: 14.16.0 , npm 7.6.3

       

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            felixwerner Felix Werner
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title