[security] Self-XSS on database names (Operations/rename), see PMASA-2011-18
This commit is contained in:
@@ -32,7 +32,7 @@ $(document).ready(function() {
|
||||
|
||||
var $form = $(this);
|
||||
|
||||
var question = 'CREATE DATABASE ' + $('#new_db_name').val() + ' / DROP DATABASE ' + window.parent.db;
|
||||
var question = escapeHtml('CREATE DATABASE ' + $('#new_db_name').val() + ' / DROP DATABASE ' + window.parent.db);
|
||||
|
||||
PMA_prepareForAjaxRequest($form);
|
||||
/**
|
||||
|
Reference in New Issue
Block a user