Update PrettyPageHandler.php

This commit is contained in:
Markus Staab
2017-03-06 09:26:33 +01:00
committed by GitHub
parent 1584b29f4e
commit e319f72b90
+1 -1
View File
@@ -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]));