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>