Issue Feature Closed

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

Arek van Schaijk 03/06/13, 14:05 updated 03/06/13, 21:19

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.