Skip to content

Commit

Permalink
SagePay: stop logging sensitive info (GitHub issue #18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Lavin committed Jun 30, 2014
1 parent 3cd3b37 commit bb24125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Vend/Payment/SagePay.pm
Expand Up @@ -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}";
}

Expand Down

0 comments on commit bb24125

Please sign in to comment.