Issue Bug Closed

#66129ViewModuleController.php assumes wrong protocol when using $page['url_scheme']

Christian Nölle 03/30/15, 07:18 updated 05/02/15, 12:22

Description

At line 78 in ViewModuleController.php the url_scheme 2 AND 0 interpreted as https – why is default (0) set to SSL?

            if ($page['url_scheme'] == 2 || $page['url_scheme'] == 0 && \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SSL')) {
                $protocol = 'https';
            }

Reviews 0

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