Feature description
Currently, file upload limits in Grails are configured as follows:
grails:
controllers:
upload:
maxFileSize: 20000000
maxRequestSize: 20000000
In Spring Boot, the equivalent configuration is:
spring:
servlet:
multipart:
max-file-size: 200MB
max-request-size: 200MB
I propose that we adopt the Spring Boot configuration properties instead.
This would provide several benefits:
- Avoid reinventing existing functionality
- Reduce redundant and framework-specific configuration code
- Improve readability by allowing the use of human-friendly size units (e.g., MB instead of raw byte values)
Feature description
Currently, file upload limits in Grails are configured as follows:
In Spring Boot, the equivalent configuration is:
I propose that we adopt the Spring Boot configuration properties instead.
This would provide several benefits: