[TYPO3-core] RFC: #5003: prefixRelPath() incorrectly changes links to anchors
Jigal van Hemert
jigal at xs4all.nl
Sat Aug 15 13:35:57 CEST 2009
Hi David,
David Bruchmann wrote:
>> Problem:
>> If a link is made to an anchor on the same page (<a
>> href="#anchor_name"> ) it was incorrectly modified by prefixRelPath()
>>
>> Solution:
>> Don't change url if it starts with '#'
>
> please check if #11643 ( http://bugs.typo3.org/view.php?id=11643 ) is
> concerned in any way.
If #5003 was playing up the url would've included a relative path. This
happens for example when you have a link such as <a href="#bottom"> in a
template. This would've been output as <a href="path/to/template/#bottom">.
In #11643 the anchor is ignored completely.
Regards,
--
Jigal van Hemert.
More information about the TYPO3-team-core
mailing list