Issue Bug Closed

#16126getMimeType() bug in the class.t3lib_htmlmail.php

Alexander Bohndorf 05/05/06, 17:01 updated 05/08/06, 22:17

Description

in the current Version Typo 3 4.0 is a bug in the class.t3lib_htmlmail.php in line 1282 in the function getMimeType():

Please replace

fputs($fp,‘HEAD ‘.$getAdr.’ HTTP/1.0\r\nHost: ‘.$pathInfo[‘host’].’\r\n\r\n’);

with

fputs($fp,‘HEAD ‘.$getAdr.” HTTP/1.0\r\nHost: “.$pathInfo[‘host’].”\r\n\r\n”);

This results in an endless loop while fetching a html page for a direct mailing if there are external files included with unknown mime types, for example .js-Files.

(issue imported from #M3426)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.