[TYPO3-dev] Scheme enforcement in 4.5.x

Felix Nagel lists at felixnagel.com
Wed Dec 7 11:30:49 CET 2011


Additional example what my XCLASS will fix:

We have:
page1 (default url_scheme)
page2 (http url_scheme)
page3 (https url_scheme)

baseUrl is http://domain.com
Starting on page1
Move on to page3 (using rendered https link, as defined via url_scheme)

Current state:
link to page1 is https (which is wrong)
link to page2 is http (as defined in scheme_url)

Using my fix:
link to page1 is http
link to page2 is http



In order to have an "force scheme" TS option to be used everywhere in 
the pagetree:
As already posted we would need the actual TS of the linked page. My 
current approach uses $GLOBALS['TSFE']->config['config'] which holds the 
TS config of the calling page, not the linked one.

-- 
Regards
Felix Nagel



More information about the TYPO3-dev mailing list