Home » Mail » Mail_mimeDecode » Bug #6748
Mail_mimeDecode: _parseHeaderValue fails on filename with quote
Details
| Submitted | 2006-02-10 18:50 UTC |
|---|---|
| From | olaf dot wodrich at entrics dot de |
| Assigned | alan_k |
| Status | Closed |
| Package | Mail_mimeDecode |
| PHP Version | Irrelevant |
| Roadmaps | 1.6.0 |
Comments
[2006-02-10 18:50 UTC] olaf dot wodrich at entrics dot de
Description:
------------
If the filename of an attachment contains (single) quote(s) the parsing of that header part fails under certain conditions (not always). The method returns that part unchanged (fallback). Long filenames that are split into several parts seem to be a condition when this happens.
Test script:
---------------
Content-Type: audio/mpeg;
name*0="Grandmaster Flash and the Furious Five - It's Nasty (Genius of L";
name*1="ove).mp3"