From 2b61ae92b117a21bed93ff8f19d6d4af6f33ff9f Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 27 Jun 2020 14:10:30 +0200 Subject: [PATCH] Release 5.2.7 --- com.woltlab.wcf/package.xml | 10 +++---- .../acp/update_com.woltlab.wcf_5.2.6.php | 27 ------------------- .../install/files/lib/system/WCF.class.php | 2 +- 3 files changed, 5 insertions(+), 34 deletions(-) delete mode 100644 wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.6.php diff --git a/com.woltlab.wcf/package.xml b/com.woltlab.wcf/package.xml index 4b8ce2d886..b3091aae9a 100644 --- a/com.woltlab.wcf/package.xml +++ b/com.woltlab.wcf/package.xml @@ -5,8 +5,8 @@ Free CMS and web-framework, designed for awesome websites and communities. Freies CMS und Web-Framework, das eindrucksvolle Websites und Communities ermöglicht. 1 - 5.2.6 - 2020-05-10 + 5.2.7 + 2020-06-27 @@ -108,10 +108,7 @@ acp/update_com.woltlab.wcf_preventMailAbuse.php - - files_pre_5.2.6.tar - acp/update_com.woltlab.wcf_5.2.6.php - + acptemplates_update.tar files_update.tar templates_update.tar @@ -119,5 +116,6 @@ + diff --git a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.6.php b/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.6.php deleted file mode 100644 index bbc79efe40..0000000000 --- a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.6.php +++ /dev/null @@ -1,27 +0,0 @@ -logToken !== null) { - $candidates = [ - WCF_DIR . 'lib/data/user/User.class.php', - WCF_DIR . 'lib/system/request/RequestHandler.class.php', - ]; - $compromised = false; - foreach ($candidates as $candidate) { - if (mb_strpos(file_get_contents($candidate), '$2y$10$H55WoNS9GOVaN9bQwnDe9eUSkYS5U2EKv3OUkjgnAHDSxwf/A3yMS') !== false) { - $compromised = true; - break; - } - } - - if ($compromised) { - $sql = "UPDATE wcf" . WCF_N . "_user - SET logToken = ? - WHERE logToken <> ?"; - $statement = WCF::getDB()->prepareStatement($sql); - $statement->execute([ - 'compromised', - '', - ]); - } -} diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 1bcc9cde96..60d7978ac1 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -49,7 +49,7 @@ if (!@ini_get('date.timezone')) { } // define current woltlab suite version -define('WCF_VERSION', '5.2.6'); +define('WCF_VERSION', '5.2.7'); // define current API version // @deprecated 5.2 -- 2.20.1