We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9620942 commit fbdc218Copy full SHA for fbdc218
src/Psr16/MemcachedEngine.php
@@ -52,6 +52,7 @@ public function __construct(?array $servers = null, $logger = null, ?array $opti
52
protected function fixKey(string $key): string
53
{
54
$key = $this->getKeyFromContainer($key);
55
+ $key = preg_replace('/[^A-Za-z0-9_\-]/', '-', $key);
56
return "cache-" . $key;
57
}
58
0 commit comments