fix: thumbnail max input height

Thumbnail max input width and height need to be the same, because images
can be portrait or landscape. See https://github.com/owncloud/ocis/issues/9234
This commit is contained in:
Benedikt Kulmann
2024-06-12 10:55:26 +02:00
parent 1ef7292e21
commit 6117e19d4f
2 changed files with 2 additions and 1 deletions
+1
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
@@ -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",
},
}