Skip to content
Snippets Groups Projects
Commit c86acfb2 authored by Oliver Hader's avatar Oliver Hader Committed by Nikita Hovratov
Browse files

[BUGFIX] Use defaultScheme setting instead of hard-coded 'http'

Several places in the TYPO3 core fall back to using 'http' as
protocol for links in case none was given. In order to adjust this
behavior new $GLOBALS['TYPO3_CONF_VARS']['SYS']['defaultScheme']
setting has been introduced, which uses 'http' as default.

In order to adjust the default protocol, one has to add the following
assignment to their LocalConfiguration.php settings:

$GLOBALS['TYPO3_CONF_VARS']['SYS']['defaultScheme'] = 'https'

Resolves: #97111
Releases: main, 11.5
Change-Id: I8c86a3b98dfdfef96c6e433de28e24c1af7f27ab
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73867


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
parent 0120781b
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment