]> 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:53 +0000 (14:27 -0400)
commitbd1ddb2b534e21b13e07fdb72f2c520f30b9e202
treebc713f5eca6d10b5d0da4836af47dccd1b425b69
parentcda42b28bc65248616f9397a30bc413b1e96d5a1
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
(cherry picked from commit 2644693c0bf5b775f7a7283cdbf566a37872586f)
doc/build/changelog/unreleased_13/5341.rst [new file with mode: 0644]
lib/sqlalchemy/engine/url.py
test/engine/test_parseconnect.py