Ticket #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
Change History
Note: See
TracTickets for help on using
tickets.
