Merge pull request #9360 from owncloud/fix-thumbnail-max-height-default

fix: thumbnail max input height
This commit is contained in:
Benedikt Kulmann
2024-06-12 11:23:46 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -2,5 +2,6 @@ Change: Define maximum input image dimensions and size when generating previews
This is a general hardening change to limit processing time and resources of the thumbnailer.
https://github.com/owncloud/ocis/pull/9360
https://github.com/owncloud/ocis/pull/9035
https://github.com/owncloud/ocis/pull/9069

View File

@@ -50,7 +50,7 @@ func DefaultConfig() *config.Config {
CS3AllowInsecure: false,
DataEndpoint: "http://127.0.0.1:9186/thumbnails/data",
MaxInputWidth: 7680,
MaxInputHeight: 4320,
MaxInputHeight: 7680,
MaxInputImageFileSize: "50MB",
},
}