mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-25 15:01:16 +02:00
Use md5 for cache key generation in ZipController
This commit is contained in:
@@ -65,7 +65,7 @@ class ZipController
|
||||
}
|
||||
|
||||
$response->getBody()->write(
|
||||
$this->cache->get(sprintf('zip-%s', sha1($path)), function () use ($path): string {
|
||||
$this->cache->get(sprintf('zip-%s', md5($path)), function () use ($path): string {
|
||||
return $this->createZip($path)->getContents();
|
||||
})
|
||||
);
|
||||
|
Reference in New Issue
Block a user