PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Mail » Mail_mimeDecode » Bug #6748

Mail_mimeDecode: _parseHeaderValue fails on filename with quote

Details

Submitted2006-02-10 18:50 UTC
Fromolaf dot wodrich at entrics dot de
Assignedalan_k
StatusClosed
PackageMail_mimeDecode
PHP VersionIrrelevant
Roadmaps1.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"