Warnings from URI::escape (obsolete since ruby 1.9.2) and some instance variables not initialized fixed
This commit is contained in:
@@ -45,7 +45,9 @@ class WpscanOptions
|
||||
attr_accessor *ACCESSOR_OPTIONS
|
||||
|
||||
def initialize
|
||||
|
||||
ACCESSOR_OPTIONS.each do |option|
|
||||
instance_variable_set("@#{option}", nil)
|
||||
end
|
||||
end
|
||||
|
||||
def url=(url)
|
||||
|
||||
Reference in New Issue
Block a user