#12818 closed defect (fixed)
post_process_request no longer redirects after exception handling — at Version 3
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.2.2 |
Component: | web frontend | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
The |
||
API Changes: | |||
Internal Changes: |
Description
Prior to Trac 1.2, a redirect in post_process_request
during exception handling would succeed because RequestDone
was re-raised.
r14604 attempted to simplify the complex nested exception handling. RequestDone
is no longer re-raised.
Change History (3)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Summary: | post_process_request can no longer redirect in exception handling → post_process_request no longer redirects after exception handling |
---|
comment:3 by , 7 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Proposed fix:
trac/web/main.py
passI'll look at adding a regression test that redirects in
post_process_request
during exception handling. Is there any other case in whichRequestDone
would be raised bypost_process_request
?