Land #6543, msu_finder link update

bug/bundler_fix
William Vu 2016-02-09 17:06:23 -06:00
commit 92d4929b3d
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
2 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ RSpec.describe MicrosoftPatchFinder do
end
let(:expected_link) do
'http://download.microsoft.com/download/9/0/6/906BC7A4-7DF7-4C24-9F9D-3E801AA36ED3/Windows6.0-KB3087918-x86.msu'
'https://download.microsoft.com/download/9/0/6/906BC7A4-7DF7-4C24-9F9D-3E801AA36ED3/Windows6.0-KB3087918-x86.msu'
end
let(:download_html_res) do

View File

@ -255,7 +255,7 @@ module MicrosoftPatchFinder
n = ::Nokogiri::HTML(res.body)
n.search('a').select { |a|
a.attributes['href'] && a.attributes['href'].value.include?('http://download.microsoft.com/download/')
a.attributes['href'] && a.attributes['href'].value.include?('https://download.microsoft.com/download/')
}.map! { |a| a.attributes['href'].value }.uniq
end