Project

General

Profile

Actions

Bug #26494

closed

https is always identified as an external page even for internal pages

Added by Ramo Karahasan over 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2011-04-29
Due date:
% Done:

0%

Estimated time:
3.00 h
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Following configuration:

in the root template:

config.extTarget = _blank

In the Backend, edit a page, set in the tab "Behaviour" used protocol to https:// and set the link target to _self.

If i click now on the link to this page in the FE (the link is provided properly with https) i always get a new tab opened in the browser, even if i set _self into the link target input field.
So, the link target field has no effect.

SteffenR told me, that if a new url schema is set or a "." is set before a slash in a link, the link is identified as external.
The problem is in line: 5530 in tslib_content of branch 4-5
if ($pU['scheme'] || ($isLocalFile != 1 && $urlChar && (!$containsSlash || $urlChar < $fileChar))) { // url (external): If doubleSlash or if a '.' comes before a '/'.

Actions

Also available in: Atom PDF