From 4a35dbd30ed8b14504afe2f52d5963ce0974b4ba Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 5 May 2007 18:08:25 +0000 Subject: [PATCH] Replace spaces with underscores in parser cache rendering hash. Caused a bug where people with ISO 8601 date format had a non-functional parser cache --- includes/User.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/User.php b/includes/User.php index 4ecd49de5c..33cb9a6bc0 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2132,6 +2132,8 @@ class User { // extra options or other effects on the parser cache. wfRunHooks( 'PageRenderingHash', array( &$confstr ) ); + // Make it a valid memcached key fragment + $confstr = str_replace( ' ', '_', $confstr ); $this->mHash = $confstr; return $confstr; } -- 2.20.1