From d928804684fb9480ecc971b306bdbfbb309ede0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 17 Aug 2010 16:38:05 +0200 Subject: [PATCH] Fix string escaping. --- js/messages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/messages.php b/js/messages.php index aeb93f56c..4999002c7 100644 --- a/js/messages.php +++ b/js/messages.php @@ -32,7 +32,7 @@ $js_messages['strDropDatabaseStrongWarning'] = __('You are about to DESTROY a co /* For blobstreaming */ $js_messages['strBLOBRepositoryDisableStrongWarning'] = __('You are about to DISABLE a BLOB Repository!'); -$js_messages['strBLOBRepositoryDisableAreYouSure'] = sprintf(__('Are you sure you want to disable all BLOB references for database %s?'), $GLOBALS['db']); +$js_messages['strBLOBRepositoryDisableAreYouSure'] = sprintf(__('Are you sure you want to disable all BLOB references for database %s?'), PMA_escapeJsString($GLOBALS['db'])); /* For indexes */ $js_messages['strFormEmpty'] = __('Missing value in the form!');