From: Niklas Laxström Date: Mon, 3 Aug 2009 11:36:47 +0000 (+0000) Subject: Memcached does not like spaces in keys X-Git-Tag: 1.31.0-rc.0~40545 X-Git-Url: http://git.cyclocoop.org//%27http:/ie7-js.googlecode.com/svn/test/index.html/%27?a=commitdiff_plain;h=45130adc365fa261a16ccd2c77ddf194cf9dbc26;p=lhc%2Fweb%2Fwiklou.git Memcached does not like spaces in keys --- 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; }