[TYPO3-core] RFC: #5003: prefixRelPath() incorrectly changes links to anchors

David Bruchmann typo3-team-core at bruchmann-web.de
Sat Aug 15 14:27:30 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,
> 

Hi Jigal,

Your example is a bit unclear because there aren't additional parameters 
considerd.
Nevertheless, the bugs themself are reproducable but I'm not sure about 
some collaboration.
#5003 handles default settings while #11643 handles additional parmeters.

Best Regards,
David


More information about the TYPO3-team-core mailing list