// Norm forbid some " characters but it blocked the installer #PSCFV-3719
This commit is contained in:
1 parent
c5e871cac3
commit
de58e2da5d
1 file changed
+2
-2
@@ -146,8 +146,8 @@ class DbPDOCore extends Db
|
||||
*/
|
||||
public function _escape($str)
|
||||
{
|
||||
$search = array('\\', '\0', '\n', '\r', '\x1a', '"', '\'');
|
||||
$replace = array('\\\\', '\\0', '\\n', '\\r', '\Z', '\\"', '\\\'');
|
||||
$search = array('\\', "\0", "\n", "\r", "\x1a", '\'', '"');
|
||||
$replace = array('\\\\', "\\0", "\\n", "\\r", '\\Z', '\\\'', '\\"');
|
||||
|
||||
return str_replace($search, $replace, $str);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user