* Fix bugtracker issue 3172: MIME type determination crashing (HEAD request)
authorStanislas Rolland <typo3@sjbr.ca>
Wed, 12 Apr 2006 16:07:41 +0000 (16:07 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Wed, 12 Apr 2006 16:07:41 +0000 (16:07 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1424 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_htmlmail.php

index 8e33b1a..ab1a6e3 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-12  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
+
+       * Fix bugtracker issue 3172: MIME type determination crashing (HEAD request)
+
 2006-04-10  Michael Stucki  <michael@typo3.org>
 
        * Merging all changes from TYPO3_4-0 branch back into HEAD
index aa2f6cd..6889bb2 100755 (executable)
@@ -1278,7 +1278,7 @@ class t3lib_htmlmail {
                if(!$fp) {
                        return false;
                } else {
-                       fputs($fp,'HEAD '.$getAdr.' HTTP/1.0\r\nHost: '.$pathInfo['host'].'\r\n\r\n');
+                       fputs($fp,'HEAD '.$getAdr." HTTP/1.0\r\nHost: ".$pathInfo['host']."\r\n\r\n");
                        while(!feof($fp)) {
                                $thePortion= fgets($fp,128);
                                if (eregi("(^Content-Type: )(.*)",trim($thePortion), $reg))     {