summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/base.py
diff options
context:
space:
mode:
authorYassen Damyanov <yd@itlabs.bg>2022-09-22 12:12:28 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-09-23 17:27:30 -0400
commit3333c6623fa45bcbc7fabd061184a79b7b7f2fa6 (patch)
tree6c262c52683c544470d68a0ae40c5c0ed16b1722 /lib/sqlalchemy/sql/base.py
parentd50bbd56740f86bb363b405f7d8e5df9667bb4e3 (diff)
downloadsqlalchemy-3333c6623fa45bcbc7fabd061184a79b7b7f2fa6.tar.gz
Tighten password security by removing `URL.__str__`
For improved security, the :class:`_url.URL` object will now use password obfuscation by default when ``str(url)`` is called. To stringify a URL with cleartext password, the :meth:`_url.URL.render_as_string` may be used, passing the :paramref:`_url.URL.render_as_string.hide_password` parameter as ``False``. Thanks to our contributors for this pull request. Fixes: #8567 Closes: #8563 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/8563 Pull-request-sha: d1f1127f753849eb70b8d6cc64badf34e1b9219b Change-Id: If756c8073ff99ac83876d9833c8fe1d7c76211f9
Diffstat (limited to 'lib/sqlalchemy/sql/base.py')
0 files changed, 0 insertions, 0 deletions