Modify ↓
#1282 closed defect (fixed)
Settings page submissions tries to submit to unknown host.
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | 0.8.3 |
Component: | web frontend/mod_python | Version: | 0.8.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal 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 (0)
Change History (5)
comment:1 by , 20 years ago
comment:2 by , 19 years ago
Component: | general → mod_python frontend |
---|---|
Owner: | changed from | to
#1627 has been marked as duplicate of this ticket.
comment:3 by , 19 years ago
Status: | new → assigned |
---|
comment:4 by , 19 years ago
Milestone: | → 0.8.3 |
---|
Note that this is fixed in trunk, but not in 0.8-stable.
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.