Actions
Bug #59133
closedError while converting RTE enabled fields to FAL
Start date:
2014-05-27
Due date:
% Done:
100%
Estimated time:
0.50 h
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
When converting files from RTE to FAL, I got several issues stating that probably the reference index was out of date.
Actually, the problem came from the generation of the regular expression in RteFileLinksUpdateWizard (see also #51800).
This is what the regex used to look like before:
$regularExpression = '$<(link ' . str_replace(' ', '%20', $reference['ref_string']) . ').*>$';
Basically it replaced the whitespaces with %20. The reason, why urlencode was not used here is obvious but it still should have been considered to use it, I think.
This is how it worked for me in the end:
$regularExpression = '$<(link ' . str_replace('%2F','/',urlencode($reference['ref_string'])) . ').*>$';
This way you resolve any issues with german specialchars that are savec urlencoded in the database.
Regards
Tizian
Files
Actions