Commit 93246d90 authored by Hanno Schlichting's avatar Hanno Schlichting

Make it possible to use WSGI without repoze.who.

parent 4ba9038c
......@@ -11,6 +11,8 @@ http://docs.zope.org/zope2/releases/.
Bugs Fixed
++++++++++
- Make it possible to use WSGI without repoze.who.
- Fixed serious authentication vulnerability in stock configuration.
- Fixed a regression in webdav support that broke external editor feature.
......
......@@ -108,6 +108,9 @@ class WSGIResponse(HTTPResponse):
def _unauthorized(self):
self.setStatus(401)
realm = self.realm
if realm:
self.setHeader('WWW-Authenticate', 'basic realm="%s"' % realm, 1)
def write(self,data):
""" Add data to our output stream.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment