mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Convert all frames to string #2757
This commit is contained in:
parent
e6626a28b6
commit
42336f8ad2
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@
|
||||||
Rails.application.config.filter_parameters += [:password]
|
Rails.application.config.filter_parameters += [:password]
|
||||||
|
|
||||||
Rails.application.config.filter_parameters << lambda do |key, value|
|
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
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue