[BUGFIX] Properly handle absolute links in typolink() 33/37733/2
authorMarkus Klein <klein.t3@reelworx.at>
Wed, 11 Mar 2015 14:17:52 +0000 (15:17 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Wed, 11 Mar 2015 14:40:29 +0000 (15:40 +0100)
commit47cbb9d39cf74fa2b218dc933778c8871c834d47
tree9978d3e430f136af236cdf20ce47e950bebe1420
parent8c311800b502b77325e29733c76682777c79e34a
[BUGFIX] Properly handle absolute links in typolink()

Fix a wrong assumption in the code that claims we link across domains.
If config.forceAbsoluteUrl is set, we might link to the same domain.

The patch adds a check, such that the assumption is correct afterwards.

Resolves: #65666
Releases: master, 6.2
Change-Id: I5a26522c625303637dee91a23dbf902f86a20bed
Reviewed-on: http://review.typo3.org/37733
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php