From 903074bcb68498399d26a5fcf4811430edff5e12 Mon Sep 17 00:00:00 2001 From: zlp886 Date: Fri, 10 Jun 2022 10:38:03 +0900 Subject: [PATCH] Update NodeTrait.php modify s3 error with NoSuchBucket https://github.com/afterlogic/aurora-files/issues/44 --- lib/DAV/FS/S3/NodeTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DAV/FS/S3/NodeTrait.php b/lib/DAV/FS/S3/NodeTrait.php index c9f6b08..58e9bd3 100644 --- a/lib/DAV/FS/S3/NodeTrait.php +++ b/lib/DAV/FS/S3/NodeTrait.php @@ -65,7 +65,7 @@ public function getCopySource($sKey) $sRegion = '.' . $this->client->getRegion(); } - return $this->bucket . $sRegion . "/" . \Aws\S3\S3Client::encodeKey($sKey); + return $this->bucket . "/" . \Aws\S3\S3Client::encodeKey($sKey); } public function updateMetadata($aUpdateMetadata)