1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-15 02:54:28 +02:00

Fix double unescaping

This commit is contained in:
Jakub Vrana
2025-03-11 06:19:01 +01:00
parent f25c65837f
commit 916b9e62de

View File

@@ -606,7 +606,7 @@ if (!defined('Adminer\DRIVER')) {
}
if ($maria || $is_text) {
$default = preg_replace_callback("~^'(.*)'$~", function ($match) {
return str_replace("''", "'", stripslashes($match[1]));
return stripslashes(str_replace("''", "'", $match[1]));
}, $default);
}
$return[$field] = array(