urbanadventurer / WhatWeb

Next generation web scanner
https://www.morningstarsecurity.com/research/whatweb
GNU General Public License v2.0
5.19k stars 885 forks source link

--url-pattern is bug #372

Open winezer0 opened 2 years ago

winezer0 commented 2 years ago

x = opts[:url_pattern].gsub('%insert%', x) unless opts[:url_pattern].to_s.eql?('') #BUG

x = x.gsub( '%insert%' ,opts[:url_pattern] ) unless opts[:url_pattern].to_s.eql?('') #OK