mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Filter only frame and raw_frame and not parsed_frame #2757
This commit is contained in:
parent
1a208f2923
commit
b18960c32a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue