lib/active_merchant/billing/gateways/fat_zebra.rb in activemerchant-1.76.0 vs lib/active_merchant/billing/gateways/fat_zebra.rb in activemerchant-1.77.0
- old
+ new
@@ -76,11 +76,11 @@
end
def scrub(transcript)
transcript.
gsub(%r((Authorization: Basic )\w+), '\1[FILTERED]').
- gsub(%r(("card_number\\":\\")[^"\\]*)i, '\1[FILTERED]').
- gsub(%r(("cvv\\":\\")\d+), '\1[FILTERED]')
+ gsub(%r(("card_number\\?":\\?")[^"\\]*)i, '\1[FILTERED]').
+ gsub(%r(("cvv\\?":\\?")\d+), '\1[FILTERED]')
end
private
def add_amount(post, money, options)