Does not sanitize error message on Geo::NodeStatusService

parent a0c9e3c0
...@@ -22,7 +22,7 @@ module Geo ...@@ -22,7 +22,7 @@ module Geo
GeoNode::Status.new(*values) GeoNode::Status.new(*values)
rescue HTTParty::Error, Errno::ECONNREFUSED => e rescue HTTParty::Error, Errno::ECONNREFUSED => e
GeoNode::Status.new(ActionView::Base.full_sanitizer.sanitize(e.message)) GeoNode::Status.new(e.message)
end end
private private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment