Skip to content

Commit

Permalink
Merge pull request #84 from danelowe/patch-2
Browse files Browse the repository at this point in the history
Trim keys to filter
  • Loading branch information
daim2k5 committed Feb 17, 2016
2 parents 18f5c79 + 61aa0ce commit e02f683
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/code/community/FireGento/Logger/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ private function filterSensibleData($data)
$keysToFilter = explode("\n",
Mage::helper('firegento_logger')->getLoggerConfig('general/filter_request_data'));
foreach ($keysToFilter as $key) {
$key = trim($key);
if ($key !== '') {
$subkeys = explode('.', $key);
$data = $this->filterDataFromMultidimensionalKey($data, $subkeys);
Expand Down

0 comments on commit e02f683

Please sign in to comment.