Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2012-08-13 15:51:35 +0400
committerMarc Delisle <marc@infomarc.info>2012-08-13 15:51:35 +0400
commitbb982053899718f94471ce3f5728ab963c11dda3 (patch)
tree253d24b2deb9a9af8954b030b1187d68207f62dd /js/db_structure.js
parent2df005b9e525e9393605abe6cfc8e0b536a542cc (diff)
Fix merge conflicts for security patch
Diffstat (limited to 'js/db_structure.js')
-rw-r--r--js/db_structure.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/db_structure.js b/js/db_structure.js
index 8b0629713e..223e02ea12 100644
--- a/js/db_structure.js
+++ b/js/db_structure.js
@@ -307,7 +307,7 @@ $(function() {
*/
var question =
PMA_messages.strTruncateTableStrongWarning + ' '
- + $.sprintf(PMA_messages.strDoYouReally, 'TRUNCATE ' + curr_table_name);
+ + $.sprintf(PMA_messages.strDoYouReally, 'TRUNCATE ' + escapeHtml(curr_table_name));
$this_anchor.PMA_confirm(question, $this_anchor.attr('href'), function(url) {
@@ -366,10 +366,10 @@ $(function() {
if (! is_view) {
question =
PMA_messages.strDropTableStrongWarning + ' '
- + $.sprintf(PMA_messages.strDoYouReally, 'DROP TABLE ' + curr_table_name);
+ + $.sprintf(PMA_messages.strDoYouReally, 'DROP TABLE ' + escapeHtml(curr_table_name));
} else {
question =
- $.sprintf(PMA_messages.strDoYouReally, 'DROP VIEW ' + curr_table_name);
+ $.sprintf(PMA_messages.strDoYouReally, 'DROP VIEW ' + escapeHtml(curr_table_name));
}
$this_anchor.PMA_confirm(question, $this_anchor.attr('href'), function(url) {