Bug #87919

config.absRefPrefix not working for links in HMENU, fluid generated links like <f:link.page ... or <f:link.typolink ...

Added by Martin Weymayer 5 months ago. Updated 3 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2019-03-15
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Steps to reproduce:
1) install typo3
2) add menu in typoscript like:

lib.menu >
lib.menu = HMENU
lib.menu {
  special = directory
  special.value = 1
  1 = TMENU
   1 {
                expAll =1
                wrap = <ul>|</ul>
                noBlur = 1
                NO = 1
                NO {
                        wrapItemAndSub = <li class="first">|</li> |*| <li>|</li> |*| <li class="last">|</li>
                        stdWrap.htmlSpecialChars = 1

                }
                ACT <.NO
                ACT {
                        wrapItemAndSub = <li class="first active">|</li> |*| <li class="active">|</li> |*| <li class="last active">|</li>
                        stdWrap.htmlSpecialChars = 1
                        ATagParams = class="active" 
                } ....

3) add configuration config.absRefPrefix = https://www.domain.at/

expected result:
Links in menu and fluid generated links should look like <a href="https://www.domain.at/page">....

actual result:
links look like <a href="/page">....

css files and images are including absolute path domain, but not links from menu and fluid generated

martin

History

#1 Updated by Riccardo De Contardi 5 months ago

  • Category set to TypoScript

#2 Updated by Patrick no-lastname-given 3 months ago

I can confirm this in current 9.5.7. Also ckeditor and contentelement links are not prefixed.

Also available in: Atom PDF