TODO: lib/whatweb/scan: refactor url list IP range concatenation
bcoles opened this issue · comments
# TODO: refactor this. data which matches these regexs should be taken care of above
url_list = url_list.select { |x| !(x =~ %r{^[0-9\.\-*\/]+$}) || x =~ /^[\d\.]+$/ }
url_list += ip_range unless ip_range.empty?