Bug #24370
closedGenerating preview link not working since Update to 4.4.5
0%
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)
Files
Updated by Francois Suter almost 14 years ago
This is a regression introduced by the fix to 0009508.
Updated by Francois Suter almost 14 years ago
Committed v3 to 4.4 in revision 9870 and trunk (to be on the safe side) in revision 9871.
NOTE 1: typo3/mod/user/ws/index.php does not exist in trunk anymore.
NOTE 2: the "Fixed in Version" value should really be 4.4.6, but this choice is not available yet.