Bug #22932
closedt3lib_tstemplate::linkData - external url not with scheme in ['totalURL']
0%
Description
Absolute links from pages with doktype 3, url and urltype are rendered as relative links. The scheme is missing.
To solve this problem insert in t3lib_tstemplate::linkData after compiling the normal total url (line 1488):
if ($page)['doktype'] == 3 && $page['url']!=''){
switch($page['urltype']){
case 0:
$scheme = '';
break;
case 1:
$scheme = 'http://';
break;
case 2:
$scheme = 'ftp://';
break;
case 3:
$scheme = 'mailto:';
break;
case 4:
$scheme = 'https://';
break;
}
$LD['totalURL'] = $scheme . $tmpPage['url'];
}
(issue imported from #M14786)
Updated by Alexander Opitz about 11 years ago
- Category deleted (
Communication) - Status changed from New to Needs Feedback
- Target version deleted (
0) - Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz almost 11 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this ticket.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.