Bug #69327 ยป contentobject.patch
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php (revision ) | ||
---|---|---|
if ($sourceInfo) {
|
||
$sourceConfiguration['width'] = $sourceInfo[0];
|
||
$sourceConfiguration['height'] = $sourceInfo[1];
|
||
$sourceConfiguration['src'] = htmlspecialchars($GLOBALS['TSFE']->absRefPrefix . $sourceInfo[3]);
|
||
$sourceInfoUrl = $sourceInfo[3];
|
||
if (parse_url($sourceInfoUrl, PHP_URL_HOST) == NULL) {
|
||
$sourceInfoUrl = $GLOBALS['TSFE']->absRefPrefix . $sourceInfoUrl;
|
||
}
|
||
$sourceConfiguration['src'] = htmlspecialchars($sourceInfoUrl);
|
||
$sourceConfiguration['selfClosingTagSlash'] = (!empty($GLOBALS['TSFE']->xhtmlDoctype) ? ' /' : '');
|
||
|
||
$oneSourceCollection = $this->substituteMarkerArray($sourceLayout, $sourceConfiguration, '###|###', TRUE, TRUE);
|