diff --git a/libraries/DbSearch.php b/libraries/DbSearch.php index f6617dd8e6..23f227f6e1 100644 --- a/libraries/DbSearch.php +++ b/libraries/DbSearch.php @@ -334,22 +334,23 @@ class DbSearch $html_output .= ''; // Displays browse/delete link if result count > 0 if ($res_cnt > 0) { - $this_url_params['db'] = $GLOBALS['db']; - $this_url_params['table'] = $each_table; + $this_url_params['db'] = htmlspecialchars($GLOBALS['db']); + $this_url_params['table'] = htmlspecialchars($each_table); $browse_result_path = 'sql.php' . PMA_URL_getCommon($this_url_params); $html_output .= '