Ticket #562 (defect)
Opened 2 years ago
Last modified 2 years ago
Redirect for slash doesn't use tools.proxy.base
Status: closed (fixed)
| Reported by: | fumanchu | Assigned to: | fumanchu |
|---|---|---|---|
| Priority: | high | Milestone: | 3.0 |
| Component: | CherryPy code | Keywords: | |
| Cc: |
Handler lookup may raise HTTPRedirect to correct missing or extra slashes in the supplied URL; unfortunately, that happens before tools.proxy has a chance to rewrite request.base, so the new URL may have the wrong scheme/host/port.
Change History
09/13/06 19:17:26: Modified by fumanchu
- status changed from new to assigned.
09/16/06 15:09:09: Modified by fumanchu
- status changed from assigned to closed.
- resolution set to fixed.
Fixed in [1369].


One fix would be to set request.handler to a function that raises HTTPRedirect in the handler phase.