Enable $wgCookieSetOnAutoblock and $wgCookieSetOnIpBlock by default
authorDayllan Maza <dmaza@wikimedia.org>
Thu, 5 Sep 2019 21:41:55 +0000 (17:41 -0400)
committerDayllan Maza <dmaza@wikimedia.org>
Thu, 5 Sep 2019 21:44:28 +0000 (17:44 -0400)
Bug: T191922
Change-Id: I339f9a23c7f19be97d0b0a1abf0242fdbb6ac891

RELEASE-NOTES-1.34
includes/DefaultSettings.php

index 275f4c2..179f252 100644 (file)
@@ -66,6 +66,7 @@ For notes on 1.33.x and older releases, see HISTORY.
   which was deprecated in 1.30, no longer works. Instead, $wgProxyList should be
   an array with IP addresses as the values, or a string path to a file
   containing one IP address per line.
+* $wgCookieSetOnAutoblock and $wgCookieSetOnIpBlock are now enabled by default.
 * …
 
 ==== Removed configuration ====
index 5a874d5..413c7a2 100644 (file)
@@ -6074,7 +6074,7 @@ $wgSessionName = false;
  * which case there is a possibility of an attacker discovering the names of revdeleted users, so
  * it is best to use this in conjunction with $wgSecretKey being set).
  */
-$wgCookieSetOnAutoblock = false;
+$wgCookieSetOnAutoblock = true;
 
 /**
  * Whether to set a cookie when a logged-out user is blocked. Doing so means that a blocked user,
@@ -6083,7 +6083,7 @@ $wgCookieSetOnAutoblock = false;
  * case there is a possibility of an attacker discovering the names of revdeleted users, so it
  * is best to use this in conjunction with $wgSecretKey being set).
  */
-$wgCookieSetOnIpBlock = false;
+$wgCookieSetOnIpBlock = true;
 
 /** @} */ # end of cookie settings }