app/models/wp_item.rb in wpscan-3.8.17 vs app/models/wp_item.rb in wpscan-3.8.18

- old
+ new

@@ -160,10 +160,10 @@ # @option params [ Hash ] :head Request params for the HEAD # @option params [ hash ] :get Request params for the GET # # @return [ Typhoeus::Response ] def head_and_get(path, codes = [200], params = {}) - final_path = +@path_from_blog + final_path = @path_from_blog.dup # @path_from_blog is set in the plugin/theme final_path << path unless path.nil? blog.head_and_get(final_path, codes, params) end end