Merge pull request #50546 from nextcloud/backport/50514/stable30

[stable30] feat(S3): add SSE-C support in S3 External Storage
This commit is contained in:
Andy Scherzinger 2025-01-29 20:50:55 +01:00 committed by GitHub
commit 2d986d50d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -213,7 +213,7 @@ trait S3ConnectionTrait {
}
protected function getSSECKey(): ?string {
if (isset($this->params['sse_c_key'])) {
if (isset($this->params['sse_c_key']) && !empty($this->params['sse_c_key'])) {
return $this->params['sse_c_key'];
}