-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for masking sensitive debug data #4550
Conversation
Sometimes we want to hide sensitive information from the debug trace, even if it's only for the development environment. This makes it possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please follow the coding style and make sure code is compatible with 7.3+. You're using str_ends_with
of php8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you show a sample output using this ?
Co-authored-by: John Paul E. Balandan, CPA <[email protected]>
* -------------------------------------------------------------------------- | ||
* Any data that you would like to hide from the debug trace. | ||
* In order to specify 2 levels, use "/" to separate. | ||
* ex. ['server', 'setup/password', 'secret_token'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is 'server'
in the example? What is level ?
What does this feature hide?
Does this feature really work?
Description
Sometimes we want to hide sensitive information from the debug trace, even if it's only for the development environment.
This makes it possible.
To give more context to this matter, here's a link that addresses a similar issue on laravel: laravel/ideas#1236
Checklist: