problems with accented characters in a query
This commit is contained in:
@@ -216,7 +216,9 @@ function PMA_displayTableNavigation($pos_next, $pos_prev, $sql_query)
|
|||||||
global $is_innodb;
|
global $is_innodb;
|
||||||
global $showtable;
|
global $showtable;
|
||||||
|
|
||||||
$html_sql_query = htmlentities($sql_query);
|
// here, using htmlentities() would cause problems if the query
|
||||||
|
// contains accented characters
|
||||||
|
$html_sql_query = htmlspecialchars($sql_query);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo move this to a central place
|
* @todo move this to a central place
|
||||||
|
Reference in New Issue
Block a user