Issue Bug Closed

#92187HTTP/HTTPS not correctly determined behind reverseProxy

Thorben Nissen 09/03/20, 16:23 updated 12/02/25, 14:36

Description

When using TYPO3 behind a reverse proxy with SSL termination and setting $GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxySSL'] to ‘*’ or any ip address, TYPO3 assumes, that the request is using HTTPS even though the proxy might have received it as HTTP. It should honor the X-Forwarded-Proto header, if set.

This effects all active versions (9, 10 and master).

Reviews 3

History 622

  1. Gerrit Code Review pushed patch set 1 for master to change 65550 status New Under Review <span data-processor="relativetime" data-value="2020-09-03T20:59:28+00:00" > 09/03/20, 20:59 </span>

  2. Anja Leichsenring commented and changed status Under Review Rejected <span data-processor="relativetime" data-value="2020-09-03T21:30:07+00:00" > 09/03/20, 21:30 </span>

    as stated in the patch, this fix will not be accepted because it opens a security vulnerability.

  3. Gerrit Code Review pushed patch set 1 for master to change 65573 status New Under Review <span data-processor="relativetime" data-value="2020-09-04T09:12:31+00:00" > 09/04/20, 09:12 </span>

  4. Anonymous commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-03-24T12:05:08+00:00" > 03/24/25, 12:05 </span>

    Applied in changeset commit:251604394eb3dfaf8171bbee7fba7a2bbe3fc014.