Bug #59133 » patch_62307.diff
typo3_src-6.2.5.new/typo3/sysext/install/Classes/Updates/RteFileLinksUpdateWizard.php 2014-10-17 14:29:05.028318700 +0200 | ||
---|---|---|
if ($fileObject instanceof \TYPO3\CMS\Core\Resource\AbstractFile) {
|
||
// Next, match the reference path in the content to be sure it's present inside a <link> 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) {
|
- « Previous
- 1
- 2
- Next »