]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fixup! Remove URL.__str__ causing a fallback to URL.__repr__
authorYassen Damyanov <yd@itlabs.bg>
Thu, 22 Sep 2022 12:22:45 +0000 (15:22 +0300)
committerYassen Damyanov <yd@itlabs.bg>
Thu, 22 Sep 2022 12:22:45 +0000 (15:22 +0300)
Add changelog description file

doc/build/changelog/unreleased_20/8547.rst [new file with mode: 0644]

diff --git a/doc/build/changelog/unreleased_20/8547.rst b/doc/build/changelog/unreleased_20/8547.rst
new file mode 100644 (file)
index 0000000..48b5518
--- /dev/null
@@ -0,0 +1,9 @@
+.. change::
+    :tags: bug, engine
+    :tickets: 8547
+
+    For improved security, :class:`engine.URL` gets its ``__str__`` method
+    removed to avoid accidental password leakage. ``str(engine.URL())`` will
+    now fallback to :method:`engine.URL.__repr__` which censors the password.
+    :method:`engine.URL.render_as_string(hide_password=False)` is still
+    available for cases when clear text password is necessary.