Update value of the default cookie prefix
authorNiklas (Krymonota) <Krymonota@users.noreply.github.com>
Sun, 24 May 2020 17:12:08 +0000 (19:12 +0200)
committerNiklas (Krymonota) <Krymonota@users.noreply.github.com>
Sun, 24 May 2020 17:12:08 +0000 (19:12 +0200)
com.woltlab.wcf/option.xml
wcfsetup/install/files/lib/system/WCFSetup.class.php
wcfsetup/install/files/options.inc.php

index 8d53043e68594fab516014be5f2b9ca8f588fa16..42dd6c7ab7305f2530927d9e4df7cc751f27adb6 100644 (file)
@@ -595,7 +595,7 @@ private:wcf.acp.option.exception_privacy.private</selectoptions>
                        <option name="cookie_prefix">
                                <categoryname>general.system.cookie</categoryname>
                                <optiontype>text</optiontype>
-                               <defaultvalue>wsc31_</defaultvalue>
+                               <defaultvalue>wsc52_</defaultvalue>
                                <validationpattern>^[a-zA-Z0-9_]+$</validationpattern>
                        </option>
                        <!-- /general.system.cookie-->
index a2f525ca3b8a1e55c7123da904af9f24e49eb18c..9aa4bf6c007d972dbcf2704d0fe87402a40d322f 100644 (file)
@@ -1268,7 +1268,7 @@ class WCFSetup extends WCF {
                        $useRandomCookiePrefix = false;
                }
                
-               $prefix = 'wsc31_';
+               $prefix = 'wsc52_';
                if ($useRandomCookiePrefix) {
                        $cookieNames = array_keys($_COOKIE);
                        while (true) {
index a52472ce84dbabd62504d5420e254644235c241c..546c4c658effd7e2598a2d2fee2aabd6e7ba6d40 100644 (file)
@@ -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');