bug #1835654 [core] wrong escaping when using double quotes
This commit is contained in:
@@ -11,6 +11,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
|||||||
backslashes
|
backslashes
|
||||||
- bug #1843463 [GUI] DROP PROCEDURE does not show alert
|
- bug #1843463 [GUI] DROP PROCEDURE does not show alert
|
||||||
- bug #1835904 [GUI] Back link after a SQL error forgets the query
|
- bug #1835904 [GUI] Back link after a SQL error forgets the query
|
||||||
|
- bug #1835654 [core] wrong escaping when using double quotes
|
||||||
|
|
||||||
2.11.3.0 (2007-12-08)
|
2.11.3.0 (2007-12-08)
|
||||||
- patch #1818389 to remove a notice (failed to flush buffer), thanks to
|
- patch #1818389 to remove a notice (failed to flush buffer), thanks to
|
||||||
|
@@ -1245,7 +1245,7 @@ function PMA_profilingCheckbox($sql_query) {
|
|||||||
if (PMA_profilingSupported()) {
|
if (PMA_profilingSupported()) {
|
||||||
echo '<form action="sql.php" method="post">' . "\n";
|
echo '<form action="sql.php" method="post">' . "\n";
|
||||||
echo PMA_generate_common_hidden_inputs($GLOBALS['db'], $GLOBALS['table']);
|
echo PMA_generate_common_hidden_inputs($GLOBALS['db'], $GLOBALS['table']);
|
||||||
echo '<input type="hidden" name="sql_query" value="' . $sql_query . '" />' . "\n";
|
echo '<input type="hidden" name="sql_query" value="' . htmlspecialchars($sql_query) . '" />' . "\n";
|
||||||
echo '<input type="hidden" name="profiling_form" value="1" />' . "\n";
|
echo '<input type="hidden" name="profiling_form" value="1" />' . "\n";
|
||||||
echo '<input type="checkbox" name="profiling" id="profiling"' . (isset($_SESSION['profiling']) ? ' checked="checked"' : '') . ' onclick="this.form.submit();" /><label for="profiling">' . $GLOBALS['strProfiling'] . '</label>' . "\n";
|
echo '<input type="checkbox" name="profiling" id="profiling"' . (isset($_SESSION['profiling']) ? ' checked="checked"' : '') . ' onclick="this.form.submit();" /><label for="profiling">' . $GLOBALS['strProfiling'] . '</label>' . "\n";
|
||||||
echo '<noscript><input type="submit" value="' . $GLOBALS['strGo'] . '" /></noscript>' . "\n";
|
echo '<noscript><input type="submit" value="' . $GLOBALS['strGo'] . '" /></noscript>' . "\n";
|
||||||
|
Reference in New Issue
Block a user