[Typo3-dev] Preview from an https-secured BE

Thorsten Kahler thorsten.kahler at dkd.de
Thu Apr 14 21:44:43 CEST 2005


Hi Norman,

thanks for your solution. Could you please add it as a feature request to  
the bugtracker[1]? If it's in the bugtracker it won't get lost.

Regards
Thorsten

[1] http://bugs.typo3.org/

On Thu, 14 Apr 2005 12:41:55 +0200, Seibert, Norman <seibert at entios.de>  
wrote:

> Hi,
>
> if you secure your BE by using https and you preview a page from the BE,
> this preview will use http instead of http. As a result your BE session
> gets dropped.
>
> I had a look into the code and found that the code and found that "http"
> was hardcoded in t3lib/class.t3lib_befunc.php : function viewOnClick and
> EXT:viewpage/view/index.php : function main.
>
> To avoid the above mentioned behaviour one could determine the protocol
> using:
>
> $protocol = (t3lib_div::getIndpEnv('TYPO3_SSL')?'https':'http');
>
> Best wishes
> 	Norman





More information about the TYPO3-dev mailing list