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 #1

Updated by Christian Nölle about 9 years ago

Solved it for my multidomain setup with TCEMAIN.previewDomain, didn't got that one. Problem is, we got a backend domain, serving only the backend over SSL, the frontend domains having no SSL. Without the use of the previewDomain setting, the rendering of the internal preview assumes a https connection and failing, as the called domain has no https configured. Can be closed...

Actions #2

Updated by Riccardo De Contardi almost 9 years ago

  • Status changed from New to Closed

Closed as per request of the reporter

Actions

Also available in: Atom PDF