Project

General

Profile

Actions

Bug #22932

closed

t3lib_tstemplate::linkData - external url not with scheme in ['totalURL']

Added by Ulrich Fischer almost 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-06-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

Actions #1

Updated by Alexander Opitz over 10 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)?

Actions #2

Updated by Alexander Opitz over 10 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.

Actions

Also available in: Atom PDF