You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Package ecosystem
nuget Package manager version
API v2
I'm attempting to run dependabot-core (via the docker image and a script derived from dependabot-script) on our local corporate network to integrate with our internally hosted JFrog Artifactory server.
I'm using the Artifactory Nuget v2 API (because the Artifactory Nuget v3 API has a bug which is incompatible with dependabot-core])
When accessing the v2 API endpoint, the dependabot-core version-finder class attempts to page the version results, each page contains a "next" href link to get the next page of results.
However, this "next" href link is URL encoded, and when dependabot follows that link, the paging parameters are lost. The result is that only the first page of versions are retrieved.
Package ecosystem
nuget
Package manager version
API v2
I'm attempting to run dependabot-core (via the docker image and a script derived from dependabot-script) on our local corporate network to integrate with our internally hosted JFrog Artifactory server.
I'm using the Artifactory Nuget v2 API (because the Artifactory Nuget v3 API has a bug which is incompatible with dependabot-core])
When accessing the v2 API endpoint, the dependabot-core version-finder class attempts to page the version results, each page contains a "next" href link to get the next page of results.
However, this "next" href link is URL encoded, and when dependabot follows that link, the paging parameters are lost. The result is that only the first page of versions are retrieved.
An example URL returned by Artifactory is:
A simple fix would be to URL decode the "next" link, specifically, change this line to this:
The text was updated successfully, but these errors were encountered: