Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f6706296
Commit
f6706296
authored
Mar 01, 2010
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply the change suggested by PJE for issue 7250. Unfortunately, we couldn't
come up with a unit test. :(
parent
75f82fdb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
Lib/wsgiref/handlers.py
Lib/wsgiref/handlers.py
+4
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/wsgiref/handlers.py
View file @
f6706296
...
...
@@ -468,6 +468,10 @@ class CGIHandler(BaseCGIHandler):
"""
wsgi_run_once
=
True
# Do not allow os.environ to leak between requests in Google App Engine
# and other multi-run CGI use cases. This is not easily testable.
# See http://bugs.python.org/issue7250
os_environ
=
{}
def
__init__
(
self
):
BaseCGIHandler
.
__init__
(
...
...
Misc/NEWS
View file @
f6706296
...
...
@@ -74,6 +74,9 @@ Core and Builtins
Library
-------
- Issue #7250: Fix info leak of os.environ across multi-run uses of
wsgiref.handlers.CGIHandler.
- Issue #1729305: Fix doctest to handle encode error with "backslashreplace".
- Issue #691291: codecs.open() should not convert end of lines on reading and
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment