Skip to content
  • Jan-Erik Revsbech's avatar
    [BUGFIX] getIndpEnv('TYPO3_SSL') fails to detect reverseProxyIp · b9cb4518
    Jan-Erik Revsbech authored
    When running TYPO3 behind a reverse proxy, which also handles SSL,
    the setting reverseProxySSL should check if the site is requested
    from one of the reverse proxies in order to determine whether
    the site is using SSL.
    
    It incorrectly does this check via getIndpEnv('REMOTE_ADDR') which has
    already translated the proxy IP to the end-users IP, thus always
    returning FALSE.
    
    Resolves: #37467
    Release: 6.2, 6.1
    Change-Id: I95615b0fea94e0ef0222e958e4e0bba5e6e9f60a
    Reviewed-on: https://review.typo3.org/30581
    Reviewed-by: Wouter Wolters
    Reviewed-by: Mattias Nilsson
    Tested-by: Mattias Nilsson
    Reviewed-by: Jan-Erik Revsbech
    Tested-by: Jan-Erik Revsbech
    Reviewed-by: Markus Klein
    Tested-by: Markus Klein
    b9cb4518