]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Quote URL tokens with semicolons for pyodbc, adodbapi
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 10 Nov 2016 22:08:06 +0000 (17:08 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 11 Nov 2016 18:31:16 +0000 (13:31 -0500)
commitf4ffd058ce5c814dbe134cfe7eac131057e03759
treec0f2e16f7a7b72fde1a97a45cd7f6eca23a9860b
parent014bc59237706b546c6177d5d29c996ac45e5250
Quote URL tokens with semicolons for pyodbc, adodbapi

Fixed bug in pyodbc dialect (as well as in the mostly non-working
adodbapi dialect) whereby a semicolon present in the password
or username fields could be interpreted as a separator for another
token; the values are now quoted when semicolons are present.

Change-Id: I5f99fd8db53ebf8e805e7d9d60bc09b8f1af603f
Fixes: #3762
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/connectors/pyodbc.py
lib/sqlalchemy/dialects/mssql/adodbapi.py
test/dialect/mssql/test_engine.py