Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
93246d90
Commit
93246d90
authored
Oct 31, 2011
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it possible to use WSGI without repoze.who.
parent
4ba9038c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
doc/CHANGES.rst
doc/CHANGES.rst
+2
-0
src/ZPublisher/WSGIPublisher.py
src/ZPublisher/WSGIPublisher.py
+3
-0
No files found.
doc/CHANGES.rst
View file @
93246d90
...
@@ -11,6 +11,8 @@ http://docs.zope.org/zope2/releases/.
...
@@ -11,6 +11,8 @@ http://docs.zope.org/zope2/releases/.
Bugs Fixed
Bugs Fixed
++++++++++
++++++++++
- Make it possible to use WSGI without repoze.who.
- Fixed serious authentication vulnerability in stock configuration.
- Fixed serious authentication vulnerability in stock configuration.
- Fixed a regression in webdav support that broke external editor feature.
- Fixed a regression in webdav support that broke external editor feature.
...
...
src/ZPublisher/WSGIPublisher.py
View file @
93246d90
...
@@ -108,6 +108,9 @@ class WSGIResponse(HTTPResponse):
...
@@ -108,6 +108,9 @@ class WSGIResponse(HTTPResponse):
def
_unauthorized
(
self
):
def
_unauthorized
(
self
):
self
.
setStatus
(
401
)
self
.
setStatus
(
401
)
realm
=
self
.
realm
if
realm
:
self
.
setHeader
(
'WWW-Authenticate'
,
'basic realm="%s"'
%
realm
,
1
)
def
write
(
self
,
data
):
def
write
(
self
,
data
):
""" Add data to our output stream.
""" Add data to our output stream.
...
...
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