[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 9c1cfc: Check for Token mismatches only if it's a POST req...

Michal Čihař michal at cihar.com
Fri Sep 2 13:32:30 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: 9c1cfc855318d12f7c0a1c4fbe8f35564aa72769
      https://github.com/phpmyadmin/phpmyadmin/commit/9c1cfc855318d12f7c0a1c4fbe8f35564aa72769
  Author: Deven Bansod <devenbansod.bits at gmail.com>
  Date:   2016-09-02 (Fri, 02 Sep 2016)

  Changed paths:
    M libraries/common.inc.php

  Log Message:
  -----------
  Check for Token mismatches only if it's a POST request

Checking for Token mismatches for GET requests does not make sense
because they don't contain the Token parameter

We remove all parameters from POST request in case of token mismatch

Signed-off-by: Deven Bansod <devenbansod.bits at gmail.com>


  Commit: 2d666f0c3e590c3f1ba3b844c81fc9b4558d7fd1
      https://github.com/phpmyadmin/phpmyadmin/commit/2d666f0c3e590c3f1ba3b844c81fc9b4558d7fd1
  Author: Michal Čihař <michal at cihar.com>
  Date:   2016-09-02 (Fri, 02 Sep 2016)

  Changed paths:
    M libraries/common.inc.php

  Log Message:
  -----------
  Merge pull request #12524 from devenbansod/fix_token_errors

Check for token mismatches only if it's a POST request


Compare: https://github.com/phpmyadmin/phpmyadmin/compare/84a4434ad9bd...2d666f0c3e59


More information about the Git mailing list