From 5ae726e2b4be5f078db376b1071181d6af6d6628 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Mon, 14 Dec 2020 04:36:05 +0100 Subject: [PATCH] Match Sparkle appcasts with HTTPS namespace. --- Library/Homebrew/livecheck/strategy/sparkle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/livecheck/strategy/sparkle.rb b/Library/Homebrew/livecheck/strategy/sparkle.rb index b6147e5611..2aaf3f31c9 100644 --- a/Library/Homebrew/livecheck/strategy/sparkle.rb +++ b/Library/Homebrew/livecheck/strategy/sparkle.rb @@ -32,7 +32,7 @@ module Homebrew return false unless xml 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 # Checks the content at the URL for new versions.