Fix #15119 - Uninterpreted HTML on Settings->Export page
Fixes: #15119 Pull-request: #15132 Closes: #15134 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
9c6e2b812d
@ -248,7 +248,7 @@ class Descriptions
|
||||
return __('Maximum execution time');
|
||||
case 'Export_lock_tables_name':
|
||||
return sprintf(
|
||||
__('Use %s statement'), '<code>LOCK TABLES</code>'
|
||||
__('Use %s statement'), htmlspecialchars('<code>LOCK TABLES</code>')
|
||||
);
|
||||
case 'Export_asfile_name':
|
||||
return __('Save as file');
|
||||
|
||||
@ -216,7 +216,7 @@ class FormDisplayTemplate
|
||||
|
||||
$htmlOutput = '<tr' . $tr_class . '>';
|
||||
$htmlOutput .= '<th>';
|
||||
$htmlOutput .= '<label for="' . htmlspecialchars($path) . '">' . $name
|
||||
$htmlOutput .= '<label for="' . htmlspecialchars($path) . '">' . htmlspecialchars_decode($name)
|
||||
. '</label>';
|
||||
|
||||
if (! empty($opts['doc'])) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user