Ticket #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 |
| Cc: |
Description
When editing a link the directory component of baseHref is not stripped.
For example baseHref is www.example.com/something
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
Note: See
TracTickets for help on using
tickets.
