bug #1193430, parameter not url-encoded

This commit is contained in:
Marc Delisle
2005-05-18 10:42:53 +00:00
parent 0ab8b74a58
commit 8a92a9cc1e
2 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ $Source$
2005-05-18 Marc Delisle <lem9@users.sourceforge.net>
* export.php: bug #1193442, 8 extra spaces at end of export area,
thanks to Ryan Schmidt
* db_details_structure.php: bug #1193430, zero_rows parameter
not url-encoded, thanks to Ryan Schmidt
2005-05-17 Marc Delisle <lem9@users.sourceforge.net>
* server_privileges.php, libraries/server_privileges.js:

View File

@@ -323,7 +323,7 @@ else {
echo $titles['NoDrop'];
} else {
?>
<a href="sql.php?<?php echo $tbl_url_query; ?>&amp;reload=1&amp;purge=1&amp;sql_query=<?php echo urlencode($drop_query); ?>&amp;zero_rows=<?php echo $drop_message; ?>"
<a href="sql.php?<?php echo $tbl_url_query; ?>&amp;reload=1&amp;purge=1&amp;sql_query=<?php echo urlencode($drop_query); ?>&amp;zero_rows=<?php echo urlencode($drop_message); ?>"
onclick="return confirmLink(this, '<?php echo PMA_jsFormat($drop_query, FALSE); ?>')">
<?php echo $titles['Drop']; ?></a>
<?php