Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.6

Request #7699 mimeDecode should lowercase ctype_*
Submitted: 2006-05-22 20:32 UTC
From: anomie at users dot sf dot net Assigned:
Status: Feedback Package: Mail_mimeDecode
PHP Version: 4.3.8 OS: Linux
Roadmaps: 1.6.0    

 [2006-05-22 20:32 UTC] anomie at users dot sf dot net (anomie)
Description: ------------ Mail/mimeDecode.php revision 1.46 Quoting RFC2045: > All media type values, subtype values, and parameter > names as defined are case-insensitive. However, > parameter values are case-sensitive unless otherwise > specified for the specific parameter. RFC2183 also mentions that the Content-Disposition is case-insensitive. It would make mimeDecode easier to use if ctype_primary, ctype_secondary, the ctype_parameters[] keys (but not values), disposition, and probably d_parameters[] keys were passed through strtolower().


 [2008-11-02 04:56 UTC] doconnor (Daniel O'Connor)
It looks like this is done in CVS at the moment, but I'm not familiar enough to know for sure. Are you able to check out the latest CVS version or provide a test case to prove it is fixed/not fixed?