Project

General

Profile

Bug #69327 ยป contentobject.patch

Heiko Kromm, 2015-08-26 12:48

View differences:

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);
    (1-1/1)