[TYPO3-core] RFC: jsfunc.menu.js patch

Bernhard Kraft kraftb at kraftb.at
Wed Oct 19 20:24:42 CEST 2005


Kasper Skårhøj wrote:
> ok with me.
> 
> - kasper
> 
> 
> On Monday 10 October 2005 00:51, Bernhard Kraft wrote:
> 
>>Description:
>>The t3lib/jsfunc.menu.js script gets used by the JSMENU menu cObj (Think it
>>also gets used in BE). The links it awaits for <select> options are
>>realtive to the actual page. There is code in it to append the <base> href
>>url to the link if it is set. The problem is that now (pherhaps this wasn't
>>ever so) the links generated by the JSMENU are absolute. This results in
>>getting redirected to links like:
>>http://www.mysite.com/http://www.mysite.com/index.php?id=10
>>which obviously fails to load :(
>>
>>A fix for that is to check if the link supplied isn't absolute and only
>>then prepend the base URL.


Is in CVS.


greets,
Bernhard



More information about the TYPO3-team-core mailing list