-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Open
Labels
status: waiting-for-triageAn issue we've not yet triaged or decided onAn issue we've not yet triaged or decided on
Description
It would be great if Spring support magic-bytes validation for FilePart
or Part
, so I could specify allowed file extensions per endpoint (perhaps depending on Apache Tika to handle this).
Also, I see spring.servlet.multipart.max-file-size
and spring.webflux.multipart.max-disk-usage-per-part
exists, but unfortunately it's not customizable per endpoint. It would be great if Spring could support that in some way.
Lastly, it would be great if by default Spring disallowed all file extensions when Spring Security exists in the classpath for better secure default configuration.
Thanks :)
Metadata
Metadata
Assignees
Labels
status: waiting-for-triageAn issue we've not yet triaged or decided onAn issue we've not yet triaged or decided on