]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix query string escaping in engine URLs
authorMiguel Grinberg <miguel.grinberg@gmail.com>
Thu, 21 May 2020 09:54:47 +0000 (05:54 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 21 May 2020 18:27:07 +0000 (14:27 -0400)
commit2644693c0bf5b775f7a7283cdbf566a37872586f
tree6e8ec72ac894b426c52b6e75f4bb40de0f4fd4ca
parent3d55263c92ee29a0257d823124c353a35246cf31
Fix query string escaping in engine URLs

Fixed issue in :class:`.URL` object where stringifying the object
would not URL encode special characters, preventing the URL from being
re-consumable as a real URL.  Pull request courtesy Miguel Grinberg.

Fixes: #5341
Closes: #5342
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5342
Pull-request-sha: 362ca3398336a3a892e8020530f0c68d4f2d1d01

Change-Id: Ief6218122d1ec0c70479eb1a90e1c16433801924
doc/build/changelog/unreleased_13/5341.rst [new file with mode: 0644]
lib/sqlalchemy/engine/url.py
test/engine/test_parseconnect.py