DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31496>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31496

contentType comparisons should be case-insensitive

           Summary: contentType comparisons should be case-insensitive
           Product: Commons
           Version: 1.0.1 Final
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: File Upload
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to