From 6736a8e249adcbac88ae45dd84553fdaf73bddc2 Mon Sep 17 00:00:00 2001 From: Fadlul Alim Date: Tue, 1 Oct 2019 21:23:42 +0700 Subject: [PATCH] Bugfix: Encode colon for cache file Colon in cache file cause error on Windows --- includes/object-cache.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/object-cache.php b/includes/object-cache.php index 75ceca3..a772bd2 100644 --- a/includes/object-cache.php +++ b/includes/object-cache.php @@ -970,6 +970,7 @@ protected function _get_focus_file( $key, $group ) { '\'' => rawurlencode( '\'' ), '<' => rawurlencode( '<' ), '>' => rawurlencode( '>' ), + ':' => rawurlencode( ':' ), ); $key = str_replace( array_keys( $protected_chars ), $protected_chars, $key );