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    
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
2008-11-02 04:57 UTC
Bug Type:
From: anomie at users dot sf dot net
New email:
PHP Version: Package Version: OS:


 [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?