Convert all frames to string #2757

This commit is contained in:
Priit Tark 2015-07-14 10:54:11 +03:00
parent efe12c9cd4
commit d4e45b6764

View file

@ -4,5 +4,5 @@
Rails.application.config.filter_parameters += [:password]
Rails.application.config.filter_parameters << lambda do |key, value|
value.gsub!(/pw>.+<\//, 'pw>[FILTERED]</') if key =~ /frame|raw_frame/i
value.to_s.gsub!(/pw>.+<\//, 'pw>[FILTERED]</') if key =~ /frame|raw_frame/i
end