From 9b7604df69a3e7d280974ce92494bacc03ef6971 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Mon, 30 May 2016 17:13:43 +0100 Subject: [PATCH] Revert "audit: tweak cpan secure urls" This reverts commit 146a16d66bc796f0c6a4c7e2b88f1b73fb0aaa4c. --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index e2ac9c44d2..f631b2fa94 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -1168,7 +1168,7 @@ class ResourceAuditor %r{^http://(?:[^/]*\.)?freedesktop\.org} problem "Please use https:// for #{p}" when %r{^http://search\.(mcpan|cpan)\.org/CPAN/(.*)}i - problem "#{p} should be `https://cpan.metacpan.org/#{$2}`" + problem "#{p} should be `https://cpan.metacpan.org/#{$1}`" when %r{^(http|ftp)://ftp\.gnome\.org/pub/gnome/(.*)}i problem "#{p} should be `https://download.gnome.org/#{$2}`" end