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 ed4a5f8 commit f273bc7Copy full SHA for f273bc7
1 file changed
apps/files_external/lib/Lib/Storage/AmazonS3.php
@@ -117,8 +117,8 @@ private function invalidateCache(string $key): void {
117
private function headObject(string $key): array|false {
118
// Normalize only the cache key so callers can keep using the original S3 object key.
119
$cacheKey = match ($key) {
120
- '', '.', '/' => '.',
121
- default => ltrim($key, '/'),
+ '', '.' => '.',
+ default => $key,
122
};
123
if (!isset($this->objectCache[$cacheKey])) {
124
try {
0 commit comments