Skip to content

Commit 43d4864

Browse files
st3inylobeck
authored andcommitted
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>
1 parent 553e77a commit 43d4864

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/ObjectStore/S3ConnectionTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ protected function getCertificateBundlePath(): ?string {
241241
}
242242

243243
protected function getSSECKey(): ?string {
244-
if (isset($this->params['sse_c_key'])) {
244+
if (isset($this->params['sse_c_key']) && !empty($this->params['sse_c_key'])) {
245245
return $this->params['sse_c_key'];
246246
}
247247

0 commit comments

Comments
 (0)