--- typo3_src-6.2.5/typo3/sysext/install/Classes/Updates/RteFileLinksUpdateWizard.php 2014-09-23 15:33:44.000000000 +0200 +++ typo3_src-6.2.5.new/typo3/sysext/install/Classes/Updates/RteFileLinksUpdateWizard.php 2014-10-17 14:29:05.028318700 +0200 @@ -194,7 +194,7 @@ if ($fileObject instanceof \TYPO3\CMS\Core\Resource\AbstractFile) { // Next, match the reference path in the content to be sure it's present inside a tag $content = $record[$reference['field']]; - $regularExpression = '$<((link|LINK) ' . str_replace(' ', '%20', $reference['ref_string']) . ').*>$'; + $regularExpression = '$<((link|LINK) ' . str_replace('%2F', '/', rawurlencode($reference['ref_string'])) . ').*>$'; $matches = array(); $result = preg_match($regularExpression, $content, $matches); if ($result) {