Project

General

Profile

Actions

Bug #16126

closed

getMimeType() bug in the class.t3lib_htmlmail.php

Added by Alexander Bohndorf over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2006-05-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions

Also available in: Atom PDF