diff --git a/src/AwsS3Adapter.php b/src/AwsS3Adapter.php index e58c161..eddeceb 100644 --- a/src/AwsS3Adapter.php +++ b/src/AwsS3Adapter.php @@ -409,7 +409,7 @@ public function copy($path, $newpath) [ 'Bucket' => $this->bucket, 'Key' => $this->applyPathPrefix($newpath), - 'CopySource' => urlencode($this->bucket . '/' . $this->applyPathPrefix($path)), + 'CopySource' => rawurlencode($this->bucket . '/' . $this->applyPathPrefix($path)), 'ACL' => $this->getRawVisibility($path) === AdapterInterface::VISIBILITY_PUBLIC ? 'public-read' : 'private', ] + $this->options