lib/active_merchant/billing/gateways/trust_commerce.rb in activemerchant-1.123.0 vs lib/active_merchant/billing/gateways/trust_commerce.rb in activemerchant-1.124.0
- old
+ new
@@ -329,10 +329,11 @@
def scrub(transcript)
transcript.
gsub(%r((Authorization: Basic )\w+), '\1[FILTERED]').
gsub(%r((&?cc=)\d*(&?)), '\1[FILTERED]\2').
gsub(%r((&?password=)[^&]+(&?)), '\1[FILTERED]\2').
- gsub(%r((&?cvv=)\d*(&?)), '\1[FILTERED]\2')
+ gsub(%r((&?cvv=)\d*(&?)), '\1[FILTERED]\2').
+ gsub(%r((&?account=)\d*(&?)), '\1[FILTERED]\2')
end
private
def add_custom_fields(params, options)