[TYPO3-core] RFC: Bug #14392: typolink creates incomplete links in combination with the forceAbsoluteUrl property

Oliver Hader oliver at typo3.org
Sun May 30 16:31:43 CEST 2010


FYI: Committed to SVN Trunk (rev. 7758)

olly


Am 26.05.10 17:28, schrieb Oliver Hader:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=14392
> 
> Branch: Trunk
> 
> Problem:
> The typolink method creates invalid/incomplete links by using the
> forceAbsoluteUrl property.
> The absolute part and scheme are missing if
> * the page is not visible/accessible and
> config.typolinkLinkAccessRestrictedPages is used
> * a file resource is linked (e.g. "fileadmin/whatever.gif")
> * an absolute local URL is linked (e.g. "/")
> 
> Solution:
> Introduce and use a new method in tslib_content that takes care of
> creating absolute URLs for the mentioned cases.
> 
> Notes:
> The attached text file contains some TypoScript examples to test the patch.
> 
> olly
-- 
Oliver Hader
TYPO3 v4 Core Team Leader


More information about the TYPO3-team-core mailing list