bug 610315

This commit is contained in:
Marc Delisle
2002-09-18 12:49:54 +00:00
parent 0977b64fb9
commit df1724629a
5 changed files with 21 additions and 6 deletions

View File

@@ -16,6 +16,9 @@ require('./libraries/common.lib.php3');
if (isset($sql_query)) {
$sql_query = urldecode($sql_query);
}
if (!isset($dontlimitchars)) {
$dontlimitchars = 0;
}
$is_gotofile = FALSE;
if (isset($after_insert) && $after_insert == 'new_insert') {
$goto = 'tbl_change.php3'
@@ -29,6 +32,7 @@ if (isset($after_insert) && $after_insert == 'new_insert') {
. '&session_max_rows=' . $session_max_rows
. '&disp_direction=' . $disp_direction
. '&repeat_cells=' . $repeat_cells
. '&dontlimitchars=' . $dontlimitchars
. (empty($sql_query) ? '' : '&sql_query=' . urlencode($sql_query));
} else if ($goto == 'sql.php3') {
$goto = 'sql.php3?'
@@ -41,6 +45,7 @@ if (isset($after_insert) && $after_insert == 'new_insert') {
. '&session_max_rows=' . $session_max_rows
. '&disp_direction=' . $disp_direction
. '&repeat_cells=' . $repeat_cells
. '&dontlimitchars=' . $dontlimitchars
. '&sql_query=' . urlencode($sql_query);
} else if (!empty($goto)) {
// Security checkings