Skip to content

Commit

Permalink
Remove routingNumber from scrub
Browse files Browse the repository at this point in the history
  • Loading branch information
naashton committed Oct 18, 2024
1 parent 49868b3 commit 0e8869e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
* StripePI: Update to retrieve_setup_intent and headers [almalee24] #5283
* Upgrade rexml to 3.3.8 [raymzag] #5245
* Nuvei: Add partial approval feature [javierpedrozaing] #5250
* Nuvei: Add ACH support [javierpedrozaing] #5269

== Version 1.137.0 (August 2, 2024)
* Unlock dependency on `rexml` to allow fixing a CVE (#5181).
Expand Down
3 changes: 1 addition & 2 deletions lib/active_merchant/billing/gateways/nuvei.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ def scrub(transcript)
gsub(%r(("merchantId\\?":\\?")\d+), '\1[FILTERED]').
gsub(%r(("merchantSiteId\\?":\\?")\d+), '\1[FILTERED]').
gsub(%r(("merchantKey\\?":\\?")\d+), '\1[FILTERED]').
gsub(%r(("accountNumber\\?":\\?")\d+), '\1[FILTERED]').
gsub(%r(("routingNumber\\?":\\?")\d+), '\1[FILTERED]')
gsub(%r(("accountNumber\\?":\\?")\d+), '\1[FILTERED]')
end

private
Expand Down

0 comments on commit 0e8869e

Please sign in to comment.