[issue7250] wsgiref.handlers.CGIHandler caches os.environ, leaking info between requests
Brandon Bloom
report at bugs.python.org
Thu Nov 5 11:40:31 CET 2009
Brandon Bloom <snprbob86 at gmail.com> added the comment:
> I've forwarded the suggested fix to the GAE team; it is to add this line:
>
> os_environ = {} # Handle GAE and other multi-run CGI use cases
>
> to the class body of CGIHandler. This should also be done in the Python
> stdlib.
I don't think that works. This still shares a common os_environ across
requests. You need to clear the dictionary after every request.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7250>
_______________________________________
More information about the Python-bugs-list
mailing list