[TYPO3-core] RFC: Bug 3909: TYPO3_SSL does not detect valid SSL session

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Aug 23 16:10:07 CEST 2006


Michael Stucki schrieb:
> This is a SVN patch request.
> 
> Problem:
> According to user feedback, the value of $_SERVER['HTTPS'] is sometimes "1" 
> not "on". This causes t3lib_div::getIndpEnv('TYPO3_SSL') to fail.
> 
> Solution:
> Add a check if $_SERVER['HTTPS'] is (string) "1".

Why do we check for 'on' anyway? Is there any server that sets HTTPS to 
"off"/"no"/"0"?

Masi



More information about the TYPO3-team-core mailing list