We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cce5bfd + 6a3f42b commit 2bfb1eaCopy full SHA for 2bfb1ea
lib/midtrans_api/client.rb
@@ -62,6 +62,7 @@ def initialize(options = {})
62
log.filter(/(#{filter}":\s*")(.*?)(")/i, '\1[FILTERED]\3')
63
log.filter(/(#{filter}":\s*)(\d+(?:\.\d+)?|true|false)/i, '\1[FILTERED]')
64
log.filter(/(#{filter}":\s*)(\[.*?\])/i, '\1[FILTERED]')
65
+ log.filter(%r{(#{filter}=)([\w+-.?@:/]+)}, '\1[FILTERED]')
66
end
67
68
0 commit comments