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 about 1 year ago. Updated 5 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


Related issues

Related to TYPO3 Core - Bug #82574: Inconsistent support of config.absRefPrefix in fluid/extbase New 2017-09-28

History

#1 Updated by Riccardo De Contardi about 1 year ago

  • Category set to TypoScript

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

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

#3 Updated by Riccardo De Contardi 5 months ago

I confirm for 9.5.11 and latest master,

It seems that config.absRefPrefix is not considered on

1) TypoScript links built with typolink function
2) HMENU TypoScript objects
3) Links in CKEditor
4) Header of content elements (linked)

It is considered on

1) IMAGE TypoScript objects
2) includeJS and includeCSS objects

#4 Updated by Riccardo De Contardi 5 months ago

  • Related to Bug #82574: Inconsistent support of config.absRefPrefix in fluid/extbase added

Also available in: Atom PDF