CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #26841

Open RSS feed throws PHP warning

Added by Felix Nagel about 2 years ago. Updated about 2 years ago.

Status:Closed Start date:2011-05-16
Priority:Must have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Votes: 0

Description

Following error message is logged:

Core: Error handler (FE): PHP Warning: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Compilation failed: unmatched parentheses at offset 63 in typo3conf/ext/t3blog/pi1/widgets/rss/class.rss.php line 618

I'm not quite sure but I think line 618 should be changed (missing closing bracket) from

$text = preg_replace('/"((?:fileadmin|typo3conf|typo3temp|uploads|typo3)\/)|index\.php)/', '"' . $basePrefix . '\1', $text);

to
$text = preg_replace('/"(((?:fileadmin|typo3conf|typo3temp|uploads|typo3)\/)|index\.php)/', '"' . $basePrefix . '\1', $text);


Related issues

duplicates T3BLOG - Bug #26134: RSS feed content:encoded field empty Resolved

History

Updated by Felix Nagel about 2 years ago

  • Status changed from New to Closed
  • Parent task set to #26134

Updated by Felix Nagel about 2 years ago

  • Parent task deleted (#26134)

Also available in: Atom PDF