Project

General

Profile

Actions

Bug #14673

closed

Preview page in HTTPS-secured BE

Added by Andreas Otto † about 19 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-04-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0rc1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

As reported by Norman Seibert on the dev-list, Message-ID: <>.

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

I believe this is a bug which should be solved before 3.8.0 final gets shipped.
(issue imported from #M983)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #14266: cannot preview hidden pages in BE when lockSSL = 1 or 2Closed2004-08-10

Actions
Actions

Also available in: Atom PDF