Actions
Bug #20269
closedconfig.absRefPrefix does not honor existance of configured prefix
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-04-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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)
Actions