Project

General

Profile

Actions

Bug #15880

closed

t3lib_html::getMimeType isn't working with name based virtual hosts

Added by Ingo Schmitt over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-03-22
Due date:
% Done:

0%

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

Description

getMimeType is just opening the Path, without naming the host.
GET /index.php HTTP/1.0
In this case, webserver with virtualname hosting will sned the wrong data

If you add the Host, as already is in t3lib_div::getUrl, the correct data is send by the webserver.

Patch, wich changes this behaviour is also uploaded

(issue imported from #M2958)


Files

class.t3lib_htmlmail.php.patch (976 Bytes) class.t3lib_htmlmail.php.patch Administrator Admin, 2006-03-22 19:48
Actions

Also available in: Atom PDF