-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Stacktrace with database password is shown when database is not available #11325
Comments
Is this shown in your browser? If yes disable show errors (can't remember the exact config option atm) in your php.ini which should be standard in a productive environment anyway. |
It is shown in the browser for every requested page, even if not logged in. display_errors in php.ini is switched off. The error seems to be caught in index.php and rendered by core/templates/error.php To reproduce i just stopped mariadb and reloaded the owncloud page. |
Hi, confirmed this behavior. @karlitschek Seems to me more like a security issue than an Enhancement. |
I propose backporting #11019 |
Will be fixed with the next oC 7 and oC 8 release. |
In owncloud 7.0.2 a stacktrace is shown when no connection to the database could be opened. The stacktrace contains (part of) the database password:
The text was updated successfully, but these errors were encountered: