mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +02:00
Shorten NUL byte
This commit is contained in:
@@ -9,7 +9,11 @@ function add_apo_slashes($s) {
|
||||
}
|
||||
|
||||
function add_quo_slashes($s) {
|
||||
return addcslashes($s, "\n\r\$\0\"\\");
|
||||
$return = $s;
|
||||
$return = addcslashes($return, "\n\r\$\"\\");
|
||||
$return = preg_replace('~\0(?![0-7])~', '\\\\0', $return);
|
||||
$return = addcslashes($return, "\0");
|
||||
return $return;
|
||||
}
|
||||
|
||||
function remove_lang($match) {
|
||||
|
Reference in New Issue
Block a user