Bug #63954
closed
typolink_URL ignores forceAbsoluteUrl
Added by Andreas Moeller almost 10 years ago.
Updated over 9 years ago.
Description
Hi,
I am using the following code segmet:
$conf = array(
'parameter' => $GLOBALS['TSFE']->id,
'forceAbsoluteUrl' => 1,
);
$link = $this->cObj->typolink_URL($conf);
My result is a relative URL such as: /de/test
Of course that is wrong. My result should look like this: http://www.test.de/de/test
By the way. When i use the function typolink() instead of typolink_URL() everything works fine.
- Project changed from 1865 to TYPO3 Core
- Category deleted (
Configuration)
- Is Regression set to No
I occasionally experience the same issue with the Extbase UriBuilder
which internally uses mentioned ContentObjectRenderer::typoLink_URL
method.
I tested this on 6.2 and on current master but I'm not able to reproduce this. Could you please provide more information of you configuration?
Please test this without realurl!
If you see a difference in typolink_URL() and typolink(), then there is most likely a hook in
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['typoLink_PostProc']
which does some stuff.
- Status changed from New to Closed
This issue could not be reproduced. Also, no feedback for 5 month. This is why I close this issue. If you think this was the wrong decision and you think this but is issue is still valid, please open a new ticket with a relation to this one.
Also available in: Atom
PDF