[phpMyAdmin Git] [phpmyadmin/phpmyadmin] ebaf12: Do not use empty() for checking submitted username

Michal Čihař michal at cihar.com
Mon Mar 27 11:29:38 CEST 2017


  Branch: refs/heads/QA_4_7
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: ebaf126501e5159329b1f84d7fd94c2e08c70057
      https://github.com/phpmyadmin/phpmyadmin/commit/ebaf126501e5159329b1f84d7fd94c2e08c70057
  Author: Michal Čihař <michal at cihar.com>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M libraries/plugins/auth/AuthenticationCookie.php

  Log Message:
  -----------
  Do not use empty() for checking submitted username

The empty() function is evil and will you block from login with username
"0".

Signed-off-by: Michal Čihař <michal at cihar.com>




More information about the Git mailing list