[TYPO3-core] RFC: Bugfix 8199: Incorrect multiline headers in boundary parts (t3lib_htmlmail)

Benjamin Mack benni at typo3.org
Fri Jul 25 12:34:04 CEST 2008


Hey Ralf,

+1 after reading. For 4.1 and 4.2 and trunk (isn't fixed there either, 
right?)

@masi: Could you take care of the commit?

thanks!
benni.

Ralf Hettinger wrote:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=8199
> 
> Branches: 4.2
> 
> 
> Problem:
> There are some ";" boundary multiline header separators missing when creating
> mails with attachements via class t3lib_htmlmail.
> 
> For most mail clients this isn't a problem but it prevents certain webmailers
> (like squirrel) to recognize file types of attached files properly since they
> can't figure an attached file's name (and ending).
> 
> Additionally, it would be quite useful for avoiding TYPO3-mails being filtered
> as spam if pdf-attachements would be declared as Content-Type: application/pdf
> (currently application/octet-stream). If you feel this is abusing bugfixing for
> foisting a feature on the current release, then please feel free to cut the
> relevant lines or claim a more pure patch.
> 
> 
> Solution:
> Add ";" to multiline headers of boundary parts where needed.
> Add a case for attaching pdf files.
> 
> 
> Ralf Hettinger
> 


More information about the TYPO3-team-core mailing list