Skip to content
Snippets Groups Projects
Commit 21314474 authored by chdiza's avatar chdiza Committed by Mike McQuaid
Browse files

audit: Clarify GNU url warning message


"ftpmirror.gnu.org" must have a protocol prefix of "http", not
"https".

Closes Homebrew/homebrew#37567.

Signed-off-by: default avatarMike McQuaid <mike@mikemcquaid.com>
parent 4057a68e
No related branches found
No related tags found
No related merge requests found
......@@ -311,7 +311,7 @@ class FormulaAuditor
# Check GNU urls; doesn't apply to mirrors
urls.grep(%r[^(?:https?|ftp)://(?!alpha).+/gnu/]) do |u|
problem "\"ftpmirror.gnu.org\" is preferred for GNU software (url is #{u})."
problem "\"http://ftpmirror.gnu.org\" is preferred for GNU software (url is #{u})."
end
# the rest of the checks apply to mirrors as well.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment