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

Jigal van Hemert jigal at xs4all.nl
Sat Aug 15 09:43:59 CEST 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=5003

Branches: TYPO3_4-2, Trunk

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 '#'

-- 
Jigal van Hemert.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 5003_trunk.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090815/a09a5fd2/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 5003_branch4-2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090815/a09a5fd2/attachment-0001.txt 


More information about the TYPO3-team-core mailing list