core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php b/core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php index 0643d8b..9fdf67c 100644 --- a/core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php +++ b/core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php @@ -42,7 +42,7 @@ public static function getLabel() { * {@inheritdoc} */ public function getContext() { - return $this->routeMatch->getRouteName() . hash('sha256', serialize($this->routeMatch->getRawParameters()->all())); + return $this->routeMatch->getRouteName() . hash('sha256', serialize($this->routeMatch->getParameters()->all())); } }