app/models/logical/naf/log_parser/base.rb in naf-2.1.12 vs app/models/logical/naf/log_parser/base.rb in naf-2.1.13
- old
+ new
@@ -93,9 +93,10 @@
json = get_json_from_log_file(file)
parser.parse(json) do |log|
if self.class.to_s == 'Logical::Naf::LogParser::Runner'
log['id'] = get_invocation_id(file.scan(UUID_REGEX).first)
end
+ log['message'] = CGI::escapeHTML(log['message'])
filter_log_messages(log)
end
sort_jsons