Project

General

Profile

Actions

Bug #34625

closed

preg_spliti does not exist

Added by Morten Haggren over 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend API
Target version:
-
Start date:
2012-03-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

To resolve #21776 patch 12889 ( http://forge.typo3.org/attachments/13030/12889.diff )

was applied

Updated by Steffen Gebert over 1 year ago

Committed to
- trunk rev. 8933
- 4-4 rev. 8934
- 4-3 rev. 8935

However the function preg_spliti does not exist ( looks like a search & replace error s/split/preg_split/g )

it should have been

$parts = preg_split('/<title>|<\/title>/i', $content, 3);

Bug affects/is present in;
Typo3;
4.4.12
4.5.10
4.6.3
(and most likely every version since the commit)

Tested in php 5.2.17

I'm a little surprised that we've not noticed this before, given that the error was introduced more than a year ago.

Actions #1

Updated by Georg Ringer over 12 years ago

  • Category set to Backend API
  • Assignee set to Georg Ringer
Actions #2

Updated by Georg Ringer over 12 years ago

affected: 4-5, 4-6, not in 4-7

Actions #3

Updated by Georg Ringer over 12 years ago

  • Status changed from New to Accepted
Actions #4

Updated by Gerrit Code Review over 12 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/10078

Actions #5

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/10079

Actions #6

Updated by Georg Ringer over 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF