[TYPO3-core] RFC: Bugfix #1980: Relative links (anchors) in current page & baseURL

Sebastian Kurfuerst sebastian at garbage-group.de
Mon Dec 12 20:13:02 CET 2005


This is a CVS Patch request.

Type:
Bugfix

Branches:
HEAD

BT reference:
http://bugs.typo3.org/view.php?id=1980

Description:
when having a base tag activated like the following one:
<base href="http://www.typo3.com/" />
and having relative links in the page like <a href="#c21"/>, then you
are redirected to the base URL: http://www.typo3.com/#c21 when clicking
the link.

Solution:
before removing the URL, check if baseURL is set.

quite a simple solution on the right place.


Greets, Sebastian

-- 
Sebastian Kurfuerst
http://garbage-group.de/kontakt.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1980.patch
Type: text/x-patch
Size: 1065 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051212/3d420fea/attachment.bin 


More information about the TYPO3-team-core mailing list