app/models/theme.rb in wpscan-3.8.25 vs app/models/theme.rb in wpscan-3.8.26
- old
+ new
@@ -90,10 +90,10 @@
license: 'License',
license_uri: 'License URI',
tags: 'Tags',
text_domain: 'Text Domain'
}.each do |attribute, tag|
- instance_variable_set(:"@#{attribute}", parse_style_tag(style_body, tag))
+ instance_variable_set(:"@#{attribute}", parse_style_tag(style_body, tag)&.force_encoding('UTF-8'))
end
end
# @param [ String ] bofy
# @param [ String ] tag