mirror of
https://github.com/internetee/registry.git
synced 2025-05-29 17:10:08 +02:00
Filter only frame and raw_frame and not parsed_frame #2757
This commit is contained in:
parent
42336f8ad2
commit
8eb2484e6e
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