Opened 9 years ago

Closed 9 years ago

Last modified 9 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
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 (1)

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

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by guest

comment:1 Changed 9 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 microgalaxy.net

comment:2 Changed 9 years ago by gogo

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

comment:3 Changed 9 years ago by gogo

No, I mean changeset:973 :-)

Note: See TracTickets for help on using tickets.