sipcapture / homer-api

HOMER 5: Back-End (API) DEPRICATED - use sipcapture/homer-app
http://sipcapture.org
27 stars 67 forks source link

Password disclosure when incorrect db password/mysql error is present #15

Closed andrewyager closed 9 years ago

andrewyager commented 9 years ago

Currently the stack trace from the API discloses the password if MySQL can't connect to the database.

adubovikov commented 9 years ago

setDebug(false) stops print full trace.

https://github.com/sipcapture/homer-api/commit/9858637a93bf62fae55a0fdea5b30735fb470019