[TYPO3-core] Urgent RFC: Bugfix #10214: md5's second argument is only valid for PHP5

Ingmar Schlecht ingmar at typo3.org
Wed Jan 21 13:08:23 CET 2009


Hi guys,

another such thing has sneaked in here:
http://forge.typo3.org/repositories/diff/typo3v4-core/branches/TYPO3_4-1/typo3/sysext/cms/tslib/class.tslib_content.php?rev=4717&rev_to=4543

str_ireplace() doesn't exit in PHP4 either.

cheers
Ingmar

Marcus Krause schrieb:
> Hi!
> 
> This is an SVN patch request.
> 
> Type: bugfix
> 
> Branches: 4-0, 4-1
> 
> Bugtracker reference: http://bugs.typo3.org/view.php?id=10214
> 
> 
> Problem:
> md5()'s 2nd parameter was introduced in PHP5 (raw binary output)
> 
> Solution:
> Use md5() with single argument, wrapped by pack()
> 
> 
> Notes:
> This is a follow up to #0010154 and #0010204. Newly released packages
> 4.0.10 and 4.1.8 are affected.
> 
> 
> Marcus.
> 


-- 
Ingmar Schlecht
TYPO3 Core Developer


More information about the TYPO3-team-core mailing list