bug #4505 [security] XSS in view operations page

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Madhura Jayaratne 2014-08-17 08:41:57 -04:00 committed by Marc Delisle
parent 773c507cda
commit 0cd293f5e1
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
phpMyAdmin - ChangeLog
======================
4.2.7.1 (2014-08-17)
- bug #4505 [security] XSS in view operations page
4.2.7.0 (2014-07-31)
- bug Broken links on home page
- bug #4494 Overlap in navigation panel

View File

@ -3585,7 +3585,7 @@ AJAX.registerOnload('functions.js', function () {
var question = PMA_messages.strDropTableStrongWarning + ' ';
question += $.sprintf(
PMA_messages.strDoYouReally,
'DROP VIEW ' + PMA_commonParams.get('table')
'DROP VIEW ' + escapeHtml(PMA_commonParams.get('table'))
);
$(this).PMA_confirm(question, $(this).attr('href'), function (url) {