1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

MS SQL: Support [ in udf_unescape

This commit is contained in:
Jakub Vrana
2021-05-23 12:50:14 +02:00
parent dadbb37f00
commit b8c5eec46d

View File

@@ -29,7 +29,7 @@ function version() {
* @return string
*/
function idf_unescape($idf) {
if (!preg_match('~^[`\'"]~', $idf)) {
if (!preg_match('~^[`\'"[]~', $idf)) {
return $idf;
}
$last = substr($idf, -1);