]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Merge pull request #677 from syseleven/fix-4913
authorHunter Haugen <hunter@puppet.com>
Wed, 31 May 2017 22:30:40 +0000 (15:30 -0700)
committerHunter Haugen <hunter@puppet.com>
Wed, 31 May 2017 22:30:40 +0000 (15:30 -0700)
https://tickets.puppetlabs.com/browse/MODULES-4913

Prior to this commit, apt_key always sent auth basic header when source
came from http(s). This might fail for some webservers (e.g. Amazon S3)
when empty auth basic is sent.

Now apt_key only sends the auth basic header when userinfo can
be parsed from the URL.

Please backport this to 2.4.x, since this is the release before incompatibility changes are made.


Trivial merge