-
Notifications
You must be signed in to change notification settings - Fork 905
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-1248) Fix - multiple sources w/same base url fail
Previously, when matching to an authenticated source that uses credentials, Chocolatey used the first source it found, even if there may have been multiple sources. Instead build a list of candidate sources by matching host (base url), and if multiple sources are found, then match against the full source url for a match. If that fails, fall back to the previous behavior of using the first found source.
- Loading branch information
1 parent
ec45cdc
commit 5f6e505
Showing
1 changed file
with
47 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters