Skip to content

Commit

Permalink
Update FileTagSet.php
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmh-unikent authored Nov 12, 2016
1 parent b6281e2 commit ef3248d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cache/FileTagSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit ef3248d

Please # to comment.