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

Certain OData requests can cause pathological regex behavior in Nuget implementation

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 3.6.0
    • 3.5.0, 3.5.1
    • NuGet
    • 2

    Description

      Certain Nuget OData requests do not play well with the regex-based query rewriting introduced in 3.5.0 causing poor performance. 

      This can be confirmed by trying the following request:

      /repository/nuget-group/FindPackagesById?$top=80&id='Microsoft.ApplicationInsights.Web'&$skiptoken=2666439,'Microsoft.ApplicationInsights.Web','2.1.0-beta4'&$orderby=DownloadCount%20desc
      

      I have also been able to confirm that this issue does not occur if the regexes are not in play.

      Attachments

        Issue Links

          Activity

            People

              jtom Joe Tom
              fmilens Frederick Milens [X] (Inactive)
              Joe Tom Joe Tom
              Nexus - Formats
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                tigCommentSecurity.panel-title