HTML-escape some fields

bug/bundler_fix
wchen-r7 2016-02-17 13:56:03 -06:00
parent 5339bb50d8
commit d5c005d948
1 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ module Msf
## Module Name ## Module Name
#{items[:mod_fullname]} #{Rex::Text.html_encode(items[:mod_fullname])}
## Authors ## Authors
@ -107,9 +107,9 @@ module Msf
def normalize_authors(authors) def normalize_authors(authors)
if authors.kind_of?(Array) if authors.kind_of?(Array)
authors.collect { |a| "* #{a}" } * "\n" authors.collect { |a| "* #{Rex::Text.html_encode(a)}" } * "\n"
else else
authors Rex::Text.html_encode(authors)
end end
end end