mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(s3): treat empty sse_c_key as not set
Co-authored-by: Christian Becker <christian@dabecka.de> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
parent
c25c5bbc00
commit
f1c025dfd3
1 changed files with 1 additions and 1 deletions
|
|
@ -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'];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue