Opened 9 years ago

Last modified 8 years ago

#1403 new defect

baseHref not stripped in Edit Link

Reported by: guest Owned by: gogo
Priority: normal Milestone: 0.97
Component: Xinha Core Version: trunk
Severity: normal Keywords: baseHref edit link


When editing a link the directory component of baseHref is not stripped.

For example baseHref is

When editing a link the URL inserted is /something/index.php

I fixed this in XinhaCore?.js on line 2957 by replacing "$1" with this.config.baseHref

var _1d4=this.config.baseHref.replace(/(https?:\/\/[\/]+)(.*)$/,this.config.baseHref);

Change History (1)

comment:1 Changed 8 years ago by gogo

  • Milestone changed from 0.96 to 0.97

More investigation needed?

Note: See TracTickets for help on using tickets.