Merge pull request #50547 from nextcloud/backport/50514/stable31

[stable31] feat(S3): add SSE-C support in S3 External Storage
This commit is contained in:
Andy Scherzinger 2025-01-29 20:52:14 +01:00 committed by GitHub
commit 1d7d01dd3a
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'];
}