Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1151 closed defect (fixed)

form action always made absolute

Reported by: guest Owned by: gogo
Priority: normal Milestone: 0.95
Component: Xinha Core Version: trunk
Severity: normal Keywords: form action


form action attributes are always made absolute. In my case I edit forms on a development system and would like to use them later on the production system which will fail, because all edited forms contain the host of the development system in the action attribute. Instead of the given "/foo/fight/er" they contain "".
I attach a small patch that fixes the problem for me and simply modifies fixRelativeLinks of XinhaCore?.js to also fix action attributes.

Attachments (1)

xinha_fix_action.patch (1.0 KB) - added by guest 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by guest

comment:1 Changed 13 years ago by guest

  • Milestone changed from 0.96 to 0.95

oh, patch is against revision 968
just in case my email: jk at

comment:2 Changed 13 years ago by gogo

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 13 years ago by gogo

No, I mean changeset:973 :-)

Note: See TracTickets for help on using tickets.