Hiding nested request parameter
Closed this issue · 4 comments
Telescope Version
4.16.2
Laravel Version
10.48.16
PHP Version
8.2
Database Driver & Version
No response
Description
Is it possible to hide sensitive request parameters that are nested two or more levels deep in a request payload? From what I can tell, \Laravel\Telescope\Telescope::hideRequestParameters only accepts a one-dimensional array. However, accepting nested arrays would be beneficial for Livewire apps, where a password (in a login request, for example) might be three levels deep, such as in "components.updates.password". Thanks!
Steps To Reproduce
N/A
Thank you for reporting this issue!
As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.
If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.
Thank you!