-
Bug
-
Resolution: Done
-
Minor
-
2.1.0.CR1
-
None
-
None
When uploading files using multi-part encoding, parameter count from request.getParameterMap() and request.getParameterNames() are different.
It seems both methods attempt to filter out FileItem parameters, but the getParameterMap includes the parameter with an empty values list in the returned map.
Steps to reproduce:
- deploy attached reproducer
- go to http://localhost:8080/reproducer
- upload file
Expected:Parameter Map size: 1 Parameter Names count: 1
Actual:
Parameter Map size: 2 Parameter Names count: 1