gsartori opened a new issue, #15644:
URL: https://github.com/apache/grails-core/issues/15644
### 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)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]