timber-ruby icon indicating copy to clipboard operation
timber-ruby copied to clipboard

Ensure Timber respects Rails' filter_params

Open binarylogic opened this issue 8 years ago • 1 comments

Timber should not log parameters specified in this list. Further, it should provide it's own option that this setting can be passed into, allowing non-Rails users to enable this as well.

binarylogic avatar Sep 06 '17 01:09 binarylogic

This piece of code should do the trick for rails

request.send(:parameter_filter).filter(request.parameters)

elia avatar May 09 '19 14:05 elia