Issue Bug Closed

#24370Generating preview link not working since Update to 4.4.5

Frederic Gaus 12/20/10, 10:45 updated 10/02/18, 12:21

Description

Since our update to Version 4.4.5 (which is currently not chooseable in the bugtracker) generating preview-links is not working.

The Problem is caused by the call of t3lib_BEfunc::getViewDomain() instead of t3lib_div::getIndpEnv(‘TYPO3_SITE_URL’). The API says:

Returns:
string the full domain including the protocol http:// or https://, but without the trailing ‘/’

This trailing ‘/’ is missing in the preview-link. I attached a patch.

How to test
Choose modul “Versioning” and click the button “Preivew-Link”. Click on the generated link.

(issue imported from #M16786)

Reviews 0

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