lib/active_merchant/billing/gateways/s5.rb in activemerchant-1.50.0 vs lib/active_merchant/billing/gateways/s5.rb in activemerchant-1.51.0

- old
+ new

@@ -86,12 +86,12 @@ true end def scrub(transcript) transcript. - gsub(%r((pwd=).+(/>))i, '\1[FILTERED]\2'). - gsub(%r((<Number>).+(</Number>))i, '\1[FILTERED]\2'). - gsub(%r((<Verification>).+(</Verification>))i, '\1[FILTERED]\2') + gsub(%r((pwd=).+?(/>))i, '\1[FILTERED]\2'). + gsub(%r((<Number>).+?(</Number>))i, '\1[FILTERED]\2'). + gsub(%r((<Verification>).+?(</Verification>))i, '\1[FILTERED]\2') end private def add_identification(xml, authorization)