HTML escape OS and version

This commit is contained in:
Jamie Cameron
2014-12-25 18:17:50 -08:00
parent f0e7c038ed
commit f098a1a6f1

View File

@ -37,9 +37,9 @@ push(@table, { 'desc' => $text{'right_host'},
# Operating system
push(@table, { 'desc' => $text{'right_os'},
'value' => $gconfig{'os_version'} eq '*' ?
'value' => &html_escape($gconfig{'os_version'} eq '*' ?
$gconfig{'real_os_type'} :
$gconfig{'real_os_type'}.' '.$gconfig{'real_os_version'}
$gconfig{'real_os_type'}.' '.$gconfig{'real_os_version'})
});
# Webmin version