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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.5.0, 3.5.1
    • Fix Version/s: 3.6.0
    • Component/s: NuGet
    • Labels:
    • Story Points:
      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

              Assignee:
              jtom Joe Tom
              Reporter:
              fmilens Frederick Milens
              Last Updated By:
              Joe Tom
              Team:
              Nexus - Formats
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title