[interchange] SagePay: stop logging sensitive info (GitHub issue #18)
Josh Lavin <[email protected]>
| Newsgroups | gmane.comp.web.interchange.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit bb24125fbca50db088de59a0c50a75cea5232135 Author: Josh Lavin <[email protected]> Date: Mon Jun 30 16:25:20 2014 -0700 SagePay: stop logging sensitive info (GitHub issue #18) lib/Vend/Payment/SagePay.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- diff --git a/lib/Vend/Payment/SagePay.pm b/lib/Vend/Payment/SagePay.pm index a6aba3e..dc2d260 100644 --- a/lib/Vend/Payment/SagePay.pm +++ b/lib/Vend/Payment/SagePay.pm @@ -977,7 +977,7 @@ if ($request eq 'psp') { #::logDebug("SP".__LINE__.": now for keys in query"); my @query; foreach my $key (sort keys(%query)) { - ::logDebug("Query to SagePay: \"$key=$query{$key}\""); # nicely readable version of the string sent +#::logDebug(qq{Query to SagePay: "$key=$query{$key}"}); # nicely readable version of the string sent (careful: this line will log sensitive info) push @query, "$key=$query{$key}"; }