Anonymous | Login | Signup for a new account | 12-17-2024 08:48 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0005018 | [Resin] | minor | always | 04-02-12 23:11 | 04-04-12 16:15 | ||||
Reporter | ralscha | View Status | public | ||||||
Assigned To | alex | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.27 | ||||||
Summary | 0005018: Part.getHeader method not case insensitive | ||||||||
Description |
According to javadoc (http://download.oracle.com/otndocs/jcp/servlet-3.0-fr-oth-JSpec/) [^] the parameter from the javax.servlet.http.Part.getHeader(..) method should be case insensitive. Tomcat 7.0.26 handles this correctly, but Resin does not. "Returns the value of the specified mime header as a String. If the Part did not include a header of the specified name, this method returns null. If there are multiple headers with the same name, this method returns the first header in the part. The header name is case insensitive. You can use this method with any request header." The browser sends: Content-Disposition Resin stores it lowercase: content-disposition Resin only returns the header with part.getHeader("content-disposition") With part.getHeader("Content-Disposition") it returns nothing. There is a github project that demonstrates the problem https://github.com/ralscha/uploadproblem [^] |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |