Project

General

Profile

Actions

Bug #18693

closed

Wrong parameter order for strpos in t3lib_div::getHostname

Added by C. Finkemeier & M. Loheide over 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-04-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I have found an error in the t3lib_div class on line 3331 (method "getHostname").

It seems the strpos command had to be:
strpos($host,'.')

instead of
strpos('.',$host)

In my case this error appends a wrong host to each mail send with t3lib_htmlmail or t3lib_formmail.

Please fix this bug within next versions.

(issue imported from #M8239)


Files

0008239.patch (475 Bytes) 0008239.patch Administrator Admin, 2008-04-24 21:46
Actions #1

Updated by Oliver Hader over 16 years ago

Committed to SVN:
  • TYPO3_4-1 (rev. 3819)
  • TYPO3_4-2 (rev. 3820)
  • Trunk (rev. 3821)
Actions

Also available in: Atom PDF