antonioribeiro / health

Laravel Health Panel
BSD 3-Clause "New" or "Revised" License
1.95k stars 197 forks source link

Check for existence of a debug_blacklist #142

Open eduardocruz opened 5 years ago

eduardocruz commented 5 years ago

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.