[TYPO3-dev] A Bug in realurl 1.1.4 or a feature?
Taras Sajuk
taras.sajuk at googlemail.com
Mon Jul 9 14:52:55 CEST 2007
in the class.tx_realurl_advanced.php on line 795 there is the "space
converter":
$processedTitle = preg_replace('/[ -+_]+/', $space, $processedTitle);
// convert spaces
unfortunately the '-' char in the expression is interpreted as range
operator. All '-' chars in the title don'get converted and are dropped
somewhere in one of the next statements.
The line should be:
$processedTitle = preg_replace('/[ \-+_]+/', $space, $processedTitle);
// convert spaces
Maybe it's an hint to use an own advanced class. bg.
--
Taras Sajuk
More information about the TYPO3-dev
mailing list