Filter only frame and raw_frame and not parsed_frame #2757

This commit is contained in:
Priit Tark 2015-07-14 11:04:23 +03:00
parent 1a208f2923
commit b18960c32a

View file

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