From fcc8719224f11416658d78ef7b1775774d6f5edc Mon Sep 17 00:00:00 2001 From: Jonathan Copson Date: Fri, 22 Mar 2024 11:35:27 +1300 Subject: [PATCH] Reinstate page url in cache key --- src/KeyCreators/ControllerBased.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/KeyCreators/ControllerBased.php b/src/KeyCreators/ControllerBased.php index caccad5..6d5cce7 100644 --- a/src/KeyCreators/ControllerBased.php +++ b/src/KeyCreators/ControllerBased.php @@ -88,10 +88,10 @@ public function getKey($name, $config) $keyParts[] = md5(Director::absoluteBaseURL()); break; case 'page': - $keyParts[] = md5(Director::absoluteBaseURL($request->getURL())); + $keyParts[] = md5(Director::absoluteBaseURL().$request->getURL()); break; case 'full': - $keyParts[] = md5(Director::absoluteBaseURL($request->getURL(true))); + $keyParts[] = md5(Director::absoluteBaseURL().$request->getURL(true)); break; } }