Skip to content

Commit a24f400

Browse files
committed
Replace md5 in cache attribute with xxh128
1 parent 58a9eba commit a24f400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Router/Attributes/Cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function after(RequestInterface $request, ResponseInterface $response): ?
132132

133133
protected function generateCacheKey(RequestInterface $request): string
134134
{
135-
return 'route_cache_' . md5(
135+
return 'route_cache_' . hash('xxh128',
136136
$request->getMethod() .
137137
$request->getUri()->getPath() .
138138
$request->getUri()->getQuery() .

0 commit comments

Comments
 (0)