Merge branch 'QA_4_7'

This commit is contained in:
Michal Čihař 2017-03-27 15:56:34 +02:00
commit 98a1012ea4

View File

@ -639,7 +639,7 @@ if (! defined('PMA_MINIMUM_COMMON')) {
. ' ' . $cfg['Server']['auth_type']
);
}
if (isset($_REQUEST['pma_password'])) {
if (isset($_REQUEST['pma_password']) && strlen($_REQUEST['pma_password']) > 256) {
$_REQUEST['pma_password'] = substr($_REQUEST['pma_password'], 0, 256);
}
$fqnAuthClass = 'PMA\libraries\plugins\auth\\' . $auth_class;