Engine.__repr__ should censor out password

Issue #2821 resolved
Former user created an issue

To make it less likely that a database password leaks out into logs, error notifications and the like, Engine.__repr__ should censor it out.

Could just add a __repr__ method to URL that replaces the password with '***'. Then format the URL with %r in Engine.__repr__.

Comments (3)

  1. Log in to comment