Fix XSS in DB_search.php
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
9f3488fc3a
commit
0ce4fd2750
@ -340,7 +340,8 @@ class PMA_DbSearch
|
||||
$browse_result_path = 'sql.php' . PMA_generate_common_url($this_url_params);
|
||||
$html_output .= '<td><a name="browse_search" href="'
|
||||
. $browse_result_path . '" onclick="loadResult(\''
|
||||
. $browse_result_path . '\',\'' . $each_table . '\',\''
|
||||
. $browse_result_path . '\',\''
|
||||
. PMA_escapeJsString(htmlspecialchars($each_table)) . '\',\''
|
||||
. PMA_generate_common_url($GLOBALS['db'], $each_table) . '\''
|
||||
. ');return false;" >'
|
||||
. __('Browse') . '</a></td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user