Match Sparkle appcasts with HTTPS namespace.

This commit is contained in:
Markus Reiter 2020-12-14 04:36:05 +01:00 committed by Sam Ford
parent 82535696fa
commit 5ae726e2b4
No known key found for this signature in database
GPG Key ID: 95209E46C7FFDEFE

View File

@ -32,7 +32,7 @@ module Homebrew
return false unless xml return false unless xml
contents = Strategy.page_contents(url) contents = Strategy.page_contents(url)
contents.include?("http://www.andymatuschak.org/xml-namespaces/sparkle") contents.match?(%r{https?://www.andymatuschak.org/xml-namespaces/sparkle})
end end
# Checks the content at the URL for new versions. # Checks the content at the URL for new versions.