[ticket/13527] Apply htmlspecialchars() to data from version server.

PHPBB3-13527
This commit is contained in:
Andreas Fischer 2015-01-20 22:40:39 +01:00
parent 251868dd7e
commit 92b5222295

View file

@ -34,7 +34,7 @@ class acp_update
$this->page_title = 'ACP_VERSION_CHECK'; $this->page_title = 'ACP_VERSION_CHECK';
// Get current and latest version // Get current and latest version
$info = obtain_latest_version_info(request_var('versioncheck_force', false)); $info = htmlspecialchars(obtain_latest_version_info(request_var('versioncheck_force', false)));
if (empty($info)) if (empty($info))
{ {