[TYPO3-core] RFC #16786: Bug: Versioning: Generating preview link not working

Frederic Gaus frederic.gaus at googlemail.com
Mon Dec 20 11:12:07 CET 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=16786

Branches:
trunk

Problem:
When generating preview-links inside the versioning module, the
trailing "/" of the view-url is missing. This is because the function
t3lib_BEfunc::getViewDomain() is now used instead of
t3lib_div::getIndpEnv('TYPO3_SITE_URL').

Solution:
Simply added a slash

Notes:
See API-Description of t3lib_BEfunc::getViewDomain(). It says:

Returns:
    string the full domain including the protocol http:// or https://,
[^] but without the trailing '/'

Regards,

Frederic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_16786.diff
Type: application/octet-stream
Size: 1820 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101220/540ae931/attachment.obj>


More information about the TYPO3-team-core mailing list