]> 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:30:25 +0000 (13:30 -0500)
commit5fba7db9be7a03076d50051fb84dade31d55262e
tree08b4da15962dbac0eae834f69005be2de9a221fe
parent91e7d46fe1dc037a4817667813abb0a0bf164a1a
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