Issue Bug Closed

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

Ingo Schmitt 03/22/06, 19:48 updated 08/12/06, 14:17

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)

Reviews 0

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