Project

General

Profile

Actions

Bug #29693

closed

Respect HTTP_X_FORWARDED_PROTO in SSL check

Added by Michael Stucki over 12 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2011-09-12
Due date:
% Done:

0%

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

Description

If the webserver runs behind a proxy server which takes care of the SSL encryption, it may forward the HTTP_X_FORWARDED_PROTO header.
However, TYPO3 ignores the header when checking for SSL using t3lib_div::getIndpEnv('TYPO3_SSL').

The header value seems to be a de-facto-standard according to Wikipedia (similar to HTTP_X_FORWARDED_FOR):
http://en.wikipedia.org/wiki/List_of_HTTP_header_fields


Related issues 10 (2 open8 closed)

Related to TYPO3 Core - Bug #16395: There is a error in detecting the ssl pageClosedMichael Stucki2006-07-22

Actions
Related to TYPO3 Core - Bug #32341: $_SERVER['HTTPS'] vs. $_SERVER['HTTP_HTTPS'] nginxClosedMichael Stucki2011-12-06

Actions
Related to TYPO3 Core - Bug #32999: Cannot properly handle reverse-proxy as SSL end-pointRejected2012-01-05

Actions
Related to TYPO3 Core - Feature #39016: Hook to modify t3lib_div::getIndpEnv return valueClosed2012-07-17

Actions
Related to TYPO3 Core - Bug #37467: Change in class.t3lib_div.php may break things for HTTPS via reverse proxyClosed2012-05-24

Actions
Related to TYPO3 Core - Bug #65334: SSL detection: better support for reverse proxiesRejectedNicole Cordes2015-02-25

Actions
Related to TYPO3 Core - Bug #81837: SSL mixed content issues in backend when HTTPS server var is not setClosed2017-07-11

Actions
Related to TYPO3 Core - Bug #86264: Trusted hosts pattern mismatch with Nginx and HTTP_X_FORWARDED_PORT 443Accepted2018-09-15

Actions
Related to TYPO3 Core - Bug #92187: HTTP/HTTPS not correctly determined behind reverseProxyUnder Review2020-09-03

Actions
Has duplicate TYPO3 Core - Feature #35723: Improvement for SSL detection behind proxy serverClosed2012-04-05

Actions
Actions

Also available in: Atom PDF