Modify ↓
Ticket #1282 (closed defect: fixed)
Opened 7 years ago
Last modified 7 years ago
Settings page submissions tries to submit to unknown host.
| Reported by: | aashley@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.8.3 |
| Component: | web frontend/mod_python | Version: | 0.8.1 |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
When submitting the Settings form it redirects to an unknown host. The action parameter for the for the form is set to "settings/" which mozilla firefox interperates as a new host.
This problem is I suspect related to the fix for #1143
Attachments
Change History
comment:1 Changed 7 years ago by aashley@…
comment:2 Changed 7 years ago by cmlenz
- Component changed from general to mod_python frontend
- Owner changed from jonas to cmlenz
#1627 has been marked as duplicate of this ticket.
comment:3 Changed 7 years ago by cmlenz
- Status changed from new to assigned
comment:4 Changed 7 years ago by cmlenz
- Milestone set to 0.8.3
Note that this is fixed in trunk, but not in 0.8-stable.
comment:5 Changed 7 years ago by cmlenz
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in [1794].
Note: See
TracTickets for help on using
tickets.



Okay finally got enough time to investigate this problem further. It is related to the fix for #1143 which made sure that the forms had at least / for the action setting. While this worked for things like the modules editing it does work for things where the action url is set in the template file.
The code in the html templates has the action set for ie the settings page to action="<?cs var:cgi_location?>/settings/".
So with the fix for #1143 we end up with settings/ being the submit location which is interperated as a new server.