lib/cms_scanner/finders/finder/enumerator.rb in cms_scanner-0.13.2 vs lib/cms_scanner/finders/finder/enumerator.rb in cms_scanner-0.13.3

- old
+ new

@@ -57,9 +57,11 @@ return head_res unless opts[:check_full_response] == true || Array(opts[:check_full_response]).include?(head_res.code) full_res = NS::Browser.get(head_res.effective_url, full_request_params) + return unless valid_response_codes.include?(full_res.code) + return if target.homepage_or_404?(full_res) || opts[:exclude_content] && full_res.body&.match(opts[:exclude_content]) full_res end