Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0 Final
-
None
-
None
-
Operating System: Windows XP
Platform: PC
-
31496
Description
In functions like FileUploadBase.isMultipartContent() the content type
comparison should be case insensitive, ex.
org.apache.commons.fileupload.FileUploadBase: line 121 -
if (contentType.toLowerCase().startsWith(MULTIPART))
to be able to handle html forms that uppercase some attribute/value pairs:
<form method="POST" action="http://127.0.0.1" enctype="MULTIPART/FORM_DATA">
I cant find an RFC that specifies case sensitivity for enctype or or otherwise
but I've come accross web designers/tools that use uppercase.