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.
2 parents 4c1271b + 30a0b01 commit d05283eCopy full SHA for d05283e
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