Review TYPO3_4-5 Abandoned

4921[BUGFIX] Respect HTTP_X_FORWARDED_PROTO in SSL check

Michael Stucki CR 0 V 0 Easy +1 −1 updated 06/03/13, 20:49

Commit message

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

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1