Project

General

Profile

Actions

Bug #66129

closed

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

Added by Christian Nölle about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-03-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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';
            }
Actions

Also available in: Atom PDF