From 8d4678302e2c6ef0ba4129d0e80691062a05f3f1 Mon Sep 17 00:00:00 2001 From: "Niklas (Krymonota)" Date: Sun, 24 May 2020 19:12:08 +0200 Subject: [PATCH] Update value of the default cookie prefix --- com.woltlab.wcf/option.xml | 2 +- wcfsetup/install/files/lib/system/WCFSetup.class.php | 2 +- wcfsetup/install/files/options.inc.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml index 8d53043e68..42dd6c7ab7 100644 --- a/com.woltlab.wcf/option.xml +++ b/com.woltlab.wcf/option.xml @@ -595,7 +595,7 @@ private:wcf.acp.option.exception_privacy.private diff --git a/wcfsetup/install/files/lib/system/WCFSetup.class.php b/wcfsetup/install/files/lib/system/WCFSetup.class.php index a2f525ca3b..9aa4bf6c00 100644 --- a/wcfsetup/install/files/lib/system/WCFSetup.class.php +++ b/wcfsetup/install/files/lib/system/WCFSetup.class.php @@ -1268,7 +1268,7 @@ class WCFSetup extends WCF { $useRandomCookiePrefix = false; } - $prefix = 'wsc31_'; + $prefix = 'wsc52_'; if ($useRandomCookiePrefix) { $cookieNames = array_keys($_COOKIE); while (true) { diff --git a/wcfsetup/install/files/options.inc.php b/wcfsetup/install/files/options.inc.php index a52472ce84..546c4c658e 100644 --- a/wcfsetup/install/files/options.inc.php +++ b/wcfsetup/install/files/options.inc.php @@ -8,7 +8,7 @@ */ define('LAST_UPDATE_TIME', TIME_NOW); -$prefix = 'wsc31_'; +$prefix = 'wsc52_'; if (file_exists(WCF_DIR . 'cookiePrefix.txt')) { // randomized cookie prefix during setup $prefix = file_get_contents(WCF_DIR . 'cookiePrefix.txt'); -- 2.20.1