[TYPO3] direct mail / function getURL() causes an internal server error (500)?

Dmitry Dulepov dmitry at typo3.org
Thu Nov 2 11:25:43 CET 2006


Hi!

Timo Rehmann wrote:
> is there any issue concerning the direct mail extension, that leads to 
> an 500 internal server error, while fetching the html-mail. the script 
> aborts at the line
> 
> // class.t3lib_htmlmail.php, getUrl()
> 
> if($fd = @fopen($url,"rb"))    { ...

This is a bug. Extension should use t3lib_div::getURL() for it because 
t3lib_div::getURL() is cleaver enough to detect when url wrappers are 
disabled.

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-english mailing list