fixed rewrite test
authorPeter Lohse <peterlohse@yahoo.de>
Wed, 20 Mar 2019 09:24:29 +0000 (10:24 +0100)
committerPeter Lohse <peterlohse@yahoo.de>
Wed, 20 Mar 2019 09:24:29 +0000 (10:24 +0100)
wcfsetup/install/files/lib/action/CoreRewriteTestAction.class.php

index 5d92a49749fc240965912b5be58ce3c4e5747187..555ca4f858f63a5af796695713fc25af1846fb9f 100644 (file)
@@ -21,7 +21,7 @@ class CoreRewriteTestAction extends AbstractAction {
        public function readParameters() {
                parent::readParameters();
                
-               if (!isset($_GET['uuidHash']) || \hash_equals(hash('sha256', WCF_UUID), $_GET['uuidHash'])) {
+               if (!isset($_GET['uuidHash']) || !\hash_equals(hash('sha256', WCF_UUID), $_GET['uuidHash'])) {
                        throw new IllegalLinkException();
                }
        }