Properly escape session startup errors

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-09-02 14:23:35 +02:00
parent f3ca367efa
commit cb3f2632a9

View File

@ -88,7 +88,7 @@ function PMA_sessionFailed($errors)
$messages[] = preg_replace(
'/open(.*, O_RDWR)/',
'open(SESSION_FILE, O_RDWR)',
$error->getMessage()
htmlspecialchars($error->getMessage())
);
}