Skip to content

Commit

Permalink
Update checks
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Sep 9, 2015
1 parent 89a88cf commit 23672cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DataCollector/SymfonyRequestCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ public function collect()
}

foreach ($data['request_server'] as $key => $value) {
if (str_is('*_KEY', $key) || str_is('*_PASSWORD', $key) || str_is('*_SECRET', $key)) {
if (str_is('*_KEY', $key) || str_is('*_PASSWORD', $key)
|| str_is('*_SECRET', $key) || str_is('*_PW', $key)) {
$data['request_server'][$key] = '******';
}
}
Expand Down

0 comments on commit 23672cb

Please sign in to comment.