From 45130adc365fa261a16ccd2c77ddf194cf9dbc26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Mon, 3 Aug 2009 11:36:47 +0000 Subject: [PATCH] Memcached does not like spaces in keys --- includes/GlobalFunctions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index af96eb1df6..3fc61e69aa 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2835,6 +2835,7 @@ function wfFormatStackFrame($frame) { function wfMemcKey( /*... */ ) { $args = func_get_args(); $key = wfWikiID() . ':' . implode( ':', $args ); + $key = str_replace( ' ', '_', $key ); return $key; } -- 2.20.1