Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#3566) Ensure package download from authed source
Update the Credential lookup logic to account for the scenario where NuGet has forgotten the credentials for the source between determining the download Uri and trying to download from it. In this instance the target Uri is a superstring of the source Uri (that is for a source of `https://repo/repository/my-repository/`, the download might be `https://repo/repository/my-repository/my-package/1.1.1`). This would not match the credential lookup, but it should use the configured credential.
- Loading branch information