From ef3248dc0548c2d6cd0f1fb63c893043aa6e4c8e Mon Sep 17 00:00:00 2001 From: Greg Haddow Date: Sat, 12 Nov 2016 11:09:20 +0000 Subject: [PATCH] Update FileTagSet.php --- src/Cache/FileTagSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cache/FileTagSet.php b/src/Cache/FileTagSet.php index 61a1558..ac566b2 100644 --- a/src/Cache/FileTagSet.php +++ b/src/Cache/FileTagSet.php @@ -16,7 +16,7 @@ class FileTagSet extends TagSet{ */ public function tagKey($name) { - return 'cache_tags' . $this->store->separator .$name; + return 'cache_tags' . $this->store->separator . preg_replace('/[^\w\s\d\-_~,;\[\]\(\).]/', '~', $name); }