[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    DO NOT REPLY [Bug 31496] New:  -
From:       bugzilla () apache ! org
Date:       2004-09-30 18:59:02
Message-ID: 20040930190028.10863.qmail () nagoya ! betaversion ! org
[Download RAW message or body]

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: commons-dev@jakarta.apache.org
        ReportedBy: ivo@benetech.org


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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic