Project

General

Profile

Actions

Feature #46064

closed

tslib_cObj->typoLink() does not check for a default url_scheme

Added by Arek van Schaijk about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2013-03-06
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

By default all pages are configured with a 'url_scheme' set to 'default'.

If you are using SSL (https) you should set each page to https in order to avoid that the tslib_cObj->typoLink() function uses the http protocol.

There is no kind of config/setting available wich defines the default url scheme (so why is it called default?).

I ran into troubles using Extbase Tx_Extbase_MVC_Controller_AbstractController->redirect(). The function always uses absolute urls, I have to configure my page (all pages) to https in order to avoid that tslib_cObj->typoLink() is generating urls with the http protocol.

So I suppose that tslib_cObj->typoLink() has to be extended with a check for some kind of default url scheme wich prevents that request are relayed per default via http (some kind of config.defaultUrlScheme = https wich can define the default of the page 'url_scheme' field.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Feature #32343: Default value for url_schemeRejected2011-12-06

Actions
Actions #1

Updated by Stefan Galinski about 11 years ago

  • Status changed from New to Closed
Actions #2

Updated by Stefan Galinski about 11 years ago

Closed as a duplicate...

Actions

Also available in: Atom PDF