Skip to content

Commit

Permalink
MS SQL: Support [ in udf_unescape
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed May 23, 2021
1 parent dadbb37 commit b8c5eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adminer/include/functions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b8c5eec

Please sign in to comment.