Skip to content

Commit 56c1f74

Browse files
committed
modify msftidy regex
1 parent 3d20ea8 commit 56c1f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/msftidy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def check_udp_sock_get
593593
# This module then got copied and committed 20+ times and is used in numerous other places.
594594
# This ensures that this stops.
595595
def check_invalid_url_scheme
596-
test = @source.scan(/^#.+http\/\/metasploit.com/)
596+
test = @source.scan(/^#.+http\/\/(?:www\.)?metasploit.com/)
597597
unless test.empty?
598598
test.each { |item|
599599
info("Invalid URL: #{item}")

0 commit comments

Comments
 (0)