From: Peter Lohse Date: Wed, 20 Mar 2019 09:24:29 +0000 (+0100) Subject: fixed rewrite test X-Git-Tag: 5.2.0_Alpha_1~199^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b2922466c0833057fb15d27bba507985f7976869;p=GitHub%2FWoltLab%2FWCF.git fixed rewrite test --- 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(); } }