Ticket #1151 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

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
Cc:

Description

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 "http://pretend.to.be:2000/foo/fight/er". I attach a small patch that fixes the problem for me and simply modifies fixRelativeLinks of XinhaCore?.js to also fix action attributes.

Attachments

xinha_fix_action.patch (1.0 kB) - added by guest 10 months ago.

Change History

Changed 10 months ago by guest

Changed 10 months ago by guest

  • milestone changed from 0.96 to 0.95

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

Changed 10 months ago by gogo

  • status changed from new to closed
  • resolution set to fixed

Changed 10 months ago by gogo

No, I mean changeset:973 :-)

Note: See TracTickets for help on using tickets.