Fix XSS on delimiter in db_sql.php.
This commit is contained in:

committed by
Michal Čihař

parent
8535d48ae9
commit
4951fd1c85
@@ -36,7 +36,7 @@ if ($num_tables == 0 && empty($db_query_force)) {
|
||||
/**
|
||||
* Query box, bookmark, insert data from textfile
|
||||
*/
|
||||
PMA_sqlQueryForm(true, false, isset($_REQUEST['delimiter']) ? $_REQUEST['delimiter'] : ';');
|
||||
PMA_sqlQueryForm(true, false, isset($_REQUEST['delimiter']) ? htmlspecialchars($_REQUEST['delimiter']) : ';');
|
||||
|
||||
/**
|
||||
* Displays the footer
|
||||
|
Reference in New Issue
Block a user