#20269config.absRefPrefix does not honor existance of configured prefix
Description
I’m using following TS to build “skip links”:
lib.skiplinks.30 = TEXT
lib.skiplinks.30.value = Skip to the navigation
lib.skiplinks.30.typolink {
title = skip link
ATagParams = class=“skip“
parameter.dataWrap = {getIndpEnv:REQUEST_URI}#col2_content
}
Resulting link is like “/path/to/page#col2_content”
However, if I set
config.absRefPrefix = /
additionally, the slash is always prepended to links no matter if paths are already absolute or not.
So there should be a check if a link already starts with absRefPrefix.
(issue imported from #M10835)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.