From b2922466c0833057fb15d27bba507985f7976869 Mon Sep 17 00:00:00 2001 From: Peter Lohse Date: Wed, 20 Mar 2019 10:24:29 +0100 Subject: [PATCH] fixed rewrite test --- .../install/files/lib/action/CoreRewriteTestAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/action/CoreRewriteTestAction.class.php b/wcfsetup/install/files/lib/action/CoreRewriteTestAction.class.php index 5d92a49749..555ca4f858 100644 --- a/wcfsetup/install/files/lib/action/CoreRewriteTestAction.class.php +++ b/wcfsetup/install/files/lib/action/CoreRewriteTestAction.class.php @@ -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(); } } -- 2.20.1