[BUGFIX] Properly handle absolute links in typolink() 30/37730/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:39:54 +0000 (15:39 +0100)
commit6fc033d7b71e5817e789e218c0c9149364f935d0
tree4ac8ce8998c3bf44b8cfd1f28f6b430d552d7688
parent7aa95aeb91eae60c03dfae582bccff0280fbf316
[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/37730
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php