Ticket #1939 (closed defect: fixed)
[PATCH] server.webpath ignored in relative redirects and login form
| Reported by: | chrisz | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.x bugfix |
| Component: | TurboGears | Version: | 1.0.5 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When you set server.webpath, then the identity login form does not work correctly, since it does not use tg.url for its action url.
Also, turbogears.redirect will not work with relative paths, since it relays the redirect to cherrypy without altering the path for a relative url, but cherrypy doesn't know about server.webpath.
These seem to be known bugs (cf. http://docs.turbogears.org/1.0/BehindIIS), but they are easy to fix with the attached patch.
Attachments
Change History
Changed 3 years ago by chrisz
-
attachment
webpath.patch
added
Note: See
TracTickets for help on using
tickets.
Fixes two problems with server.webpath