-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Labels
type: regressionA regression from a previous releaseA regression from a previous release
Milestone
Description
spring.servlet.multipart.max-file-size
and spring.servlet.multipart.max-request-size
have a default value of 1MB and 10MB respectively. Previously these where handled as raw string value with ad-hoc parsing and moved to DataSize
in 2.1
Unfortunately, their unit were set to MB while the former code was considering a raw number to be in bytes. This means that a user upgrading without the suffix will get different sizes. For consistency with 2.0 we should consider change the unit to bytes (basically removeing the two overrides we have at the moment).
pbetkier and cristaloleg
Metadata
Metadata
Assignees
Labels
type: regressionA regression from a previous releaseA regression from a previous release