mirror of
https://github.com/filp/whoops.git
synced 2026-09-04 06:32:25 +00:00
Update PrettyPageHandler.php
This commit is contained in:
@@ -134,7 +134,7 @@ class PrettyPageHandler extends Handler
|
||||
return $a;
|
||||
}
|
||||
}
|
||||
|
||||
https://github.com/filp/whoops/pull/486
|
||||
// Remove all internals
|
||||
return [];
|
||||
}]);
|
||||
@@ -655,9 +655,11 @@ class PrettyPageHandler extends Handler
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks all values identified by the given superGlobalName within GLOBALS.
|
||||
* Checks all values within the given superGlobal array.
|
||||
* Blacklisted values will be replaced by a equal length string cointaining only '*' characters.
|
||||
*
|
||||
* We intentionally dont rely on $GLOBALS as it depends on 'auto_globals_jit' php.ini setting.
|
||||
*
|
||||
* @param $superGlobal array One of the superglobal arrays
|
||||
* @param $superGlobalName string the name of the superglobal array, e.g. '_GET'
|
||||
* @return array $values without sensitive data
|
||||
|
||||
Reference in New Issue
Block a user