From ead311643485b2fc799c9b9dcf27d02c63f91bad Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Tue, 10 Sep 2024 11:16:43 -0600 Subject: [PATCH 1/2] fix cookie paths originally added in https://github.com/pantheon-systems/wordpress-composer-managed/pull/137 --- config/application.pantheon.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/application.pantheon.php b/config/application.pantheon.php index 14adca30..72057e02 100644 --- a/config/application.pantheon.php +++ b/config/application.pantheon.php @@ -83,6 +83,6 @@ // Cookie settings. defined( 'COOKIE_DOMAIN' ) or Config::define( 'COOKIE_DOMAIN', PANTHEON_HOSTNAME ); defined( 'ADMIN_COOKIE_PATH' ) or Config::define( 'ADMIN_COOKIE_PATH', '/' ); - defined( 'COOKIEPATH' ) or Config::define( 'COOKIEPATH', '' ); - defined( 'SITECOOKIEPATH' ) or Config::define( 'SITECOOKIEPATH', '' ); + defined( 'COOKIEPATH' ) or Config::define( 'COOKIEPATH', '/' ); + defined( 'SITECOOKIEPATH' ) or Config::define( 'SITECOOKIEPATH', '/' ); } From adf17177356b98784b501a6f51e88351e1086adc Mon Sep 17 00:00:00 2001 From: Pantheon Automation Date: Tue, 10 Sep 2024 11:16:50 -0600 Subject: [PATCH 2/2] Updates `COOKIEPATH` and `SITECOOKIEPATH` values to `/` in `application.pantheon.php` to resolve cookie-related nonce authentication failures. --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5054be5a..74c1a550 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### v1.32.3 (2024-09-10) +* Updates `COOKIEPATH` and `SITECOOKIEPATH` values to `/` in `application.pantheon.php` to resolve cookie-related nonce authentication failures. Previously, the values were set to `''` (empty string), which does not allow the cookies to allow authentication within all the paths in a domain. ([#]()) + ### v1.32.2 (2024-09-03) * Fixes a bug in the previous update where some WordPress core resources were not available on some single and subdirectory multisite installs. ([161](https://github.com/pantheon-systems/wordpress-composer-managed/pull/161))