Handle better backslash.
This commit is contained in:
@@ -8,6 +8,8 @@ $Source$
|
|||||||
2004-10-13 Michal Čihař <michal@cihar.com>
|
2004-10-13 Michal Čihař <michal@cihar.com>
|
||||||
* lang/sync_lang.sh: Do not overwrite utf-8 files in some cases.
|
* lang/sync_lang.sh: Do not overwrite utf-8 files in some cases.
|
||||||
* lang/czech: Fix some translations.
|
* lang/czech: Fix some translations.
|
||||||
|
* libraries/transformations/text_plain__external.inc.php: Handle better
|
||||||
|
backslash.
|
||||||
|
|
||||||
2004-10-12 Alexander M. Turek <me@derrabus.de>
|
2004-10-12 Alexander M. Turek <me@derrabus.de>
|
||||||
* db_search.php, tbl_select.php, libraries/database_interface.lib.php:
|
* db_search.php, tbl_select.php, libraries/database_interface.lib.php:
|
||||||
|
@@ -16,6 +16,9 @@ function PMA_SecureShellArgs($s) {
|
|||||||
$is_escaped = ! $is_escaped;
|
$is_escaped = ! $is_escaped;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if ($is_escaped && $s[$i - 1] != '\\') {
|
||||||
|
$is_escaped = FALSE;
|
||||||
|
}
|
||||||
if (!$inside_double && !$is_escaped && $s[$i] == '\'') {
|
if (!$inside_double && !$is_escaped && $s[$i] == '\'') {
|
||||||
$inside_single = ! $inside_single;
|
$inside_single = ! $inside_single;
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user