Skip to content
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

Check for existence of a debug_blacklist #142

Open
eduardocruz opened this issue Jan 1, 2019 · 0 comments
Open

Check for existence of a debug_blacklist #142

eduardocruz opened this issue Jan 1, 2019 · 0 comments

Comments

@eduardocruz
Copy link

This is mix between a feature request and a question. I know that we are not supposed to allow debug mode in production, but even if that happens by accident it would be nice to have a default check to make sure that a debug_blacklist exists, which would mean thought about hiding sensitive keys, instead of just leaving the Laravel default as it is.

If someone has an idea of how could I check that, I can add a pull request. Would be better to just try to read the config file? Or generate an exception and try get information (like keys) from the whoops page? Any suggestions are welcome. Or if you think that this doesn't make sense also.

@eduardocruz eduardocruz changed the title debug_blacklist Check for existence of a debug_blacklist Jan 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant