Skip to content
Commit 6bb79381 authored by Morton Jonuschat's avatar Morton Jonuschat Committed by Christian Kuhn
Browse files

[BUGFIX] DBAL: Fix quoting of single quotes in WHERE values for MSSQL

MSSQL escapes single quotes in values by doubling them. When parsing the
WHERE clause DBAL removed the escaping without performing the required
escaping of the values when compiling the query. This is fixed by adding
a special handling of MSSQL in _quoteWhereClause().

Resolves: #27760
Releases: master, 6.2
Change-Id: I9b8f4fa6ab6e47bd44e6998ee3a492468713cbf0
Reviewed-on: http://review.typo3.org/42803


Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarTizian Schmidlin <st@cabag.ch>
Tested-by: default avatarTizian Schmidlin <st@cabag.ch>
Reviewed-by: default avatarXavier Perseguers <xavier@typo3.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 69e03be1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment