HttpHeaders.setContentDispositionFormData should ignore empty filename #25769
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
When a Multipart Form request is used with an empty string as Filename, a "No Filename" exception is thrown. Can an empty String check be added to prevent the code from failing in empty string scenarios?
spring-framework/spring-web/src/main/java/org/springframework/http/HttpHeaders.java
Line 864 in 3b0f14f
spring-framework/spring-web/src/main/java/org/springframework/http/ContentDisposition.java
Line 601 in 29885e2
The text was updated successfully, but these errors were encountered: