capture environ
Bug #829166 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-oops-wsgi |
Fix Released
|
High
|
Robert Collins |
Bug Description
The environ variable is not currently captured, and it can be very useful - e.g. for doing REFERER checks when a NOTFOUND/GONE result happens.
We probably need to default to having an on_create filter to mangle / drop COOKIE contents and so forth, as user credentials or sessions are often included therein.
Related branches
lp:~lifeless/python-oops-wsgi/foru1
- James Henstridge: Approve
- Steve Kowalik (community): Approve (code)
-
Diff: 248 lines (+88/-21)5 files modifiedoops_wsgi/__init__.py (+12/-0)
oops_wsgi/hooks.py (+7/-2)
oops_wsgi/middleware.py (+11/-9)
oops_wsgi/tests/test_hooks.py (+17/-0)
oops_wsgi/tests/test_middleware.py (+41/-10)
Changed in python-oops-wsgi: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in python-oops-wsgi: | |
assignee: | nobody → Robert Collins (lifeless) |
milestone: | none → 0.0.3 |
status: | Triaged → Fix Released |
To post a comment you must log in.