mirror of
https://github.com/filp/whoops.git
synced 2026-09-10 09:46:18 +00:00
Update PrettyPageHandler.php
This commit is contained in:
@@ -665,7 +665,7 @@ class PrettyPageHandler extends Handler
|
||||
private function masked(array $superGlobal, $superGlobalName) {
|
||||
$blacklisted = $this->blacklist[$superGlobalName];
|
||||
|
||||
$values = array();
|
||||
$values = $superGlobal;
|
||||
foreach($blacklisted as $key) {
|
||||
if (isset($superGlobal[$key])) {
|
||||
$values[$key] = str_repeat('*', strlen($superGlobal[$key]));
|
||||
|
||||
Reference in New Issue
Block a user