audit: improve SF 'use_mirror' detection
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
0aa9fe73f8
commit
e0c53c56e4
@ -187,8 +187,8 @@ def audit_formula_urls f
|
||||
# Is it a sourceforge http(s) URL?
|
||||
next unless p =~ %r[^https?://.*\bsourceforge\.]
|
||||
|
||||
if p =~ /\?use_mirror=/
|
||||
problems << " * Update this url (don't use ?use_mirror)."
|
||||
if p =~ /(\?|&)use_mirror=/
|
||||
problems << " * Update this url (don't use #{$1}use_mirror)."
|
||||
end
|
||||
|
||||
if p =~ /\/download$/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user