-
-
Notifications
You must be signed in to change notification settings - Fork 221
Closed
Description
Version: 2.6.4
Bug Description
In case of password property or key array Tracy hide value automatically and render string *****.
I suggest in case of no scalar type render name of type with hidden value, because now I can not say if password key is string or object.
Steps To Reproduce
Very simply:
public function process(): void
{
$this->setUser([
'user' => 'Jan',
'password' => new ArrayHash(),
]);
}
private function setUser(array $haystack): void
{
$e(); // Throw error
}On follow Tracy arguments:
By the way, hiding items is not effective because the password is still visible in the title!
I will report it in next issue as security bug.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels



