Issue Bug Closed

#39514Page preview broken with lockSSL=1/2 and url_scheme=http

Thomas Heilmann 08/03/12, 16:59 updated 12/23/15, 12:19

Description

In t3lib_BEfunc::getViewDomain, the schema that is used for the preview link is built according to the page’s url_scheme setting (but only if a domain record is set for the current page tree!). If lockSSL is set to 1 or 2 at the same time, the workspace frontend preview is broken: The original preview link uses http, which is not changed by Tx_Workspaces_Service_Workspaces->generateWorkspaceSplittedPreviewLink. But as the new preview link points to a backend script (the workspace module), TYPO3 shows a blank page (lockSSL=1) or redirects to the backend interface (lockSSL=2).

I am not quite sure how to write a patch for this issue; I think it would involve changes to t3lib_BEfunc, too, as there is no way to change the url scheme of the preview link via the existing hook. Any ideas?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.