[Checkins] SVN: zope.server/trunk/ Made tests pass with current zope.publisher which restricts redirects to the current host by default.
Thomas Lotze
tl at gocept.com
Wed Oct 7 10:31:18 EDT 2009
Log message for revision 104855:
Made tests pass with current zope.publisher which restricts redirects to the current host by default.
Changed:
U zope.server/trunk/CHANGES.txt
U zope.server/trunk/src/zope/server/http/tests/test_wsgiserver.py
-=-
Modified: zope.server/trunk/CHANGES.txt
===================================================================
--- zope.server/trunk/CHANGES.txt 2009-10-07 11:47:40 UTC (rev 104854)
+++ zope.server/trunk/CHANGES.txt 2009-10-07 14:31:17 UTC (rev 104855)
@@ -5,6 +5,8 @@
3.6.1 (unreleased)
------------------
+- Made tests pass with current zope.publisher which restricts redirects to the
+ current host by default.
3.6.0 (2009-05-27)
------------------
Modified: zope.server/trunk/src/zope/server/http/tests/test_wsgiserver.py
===================================================================
--- zope.server/trunk/src/zope/server/http/tests/test_wsgiserver.py 2009-10-07 11:47:40 UTC (rev 104854)
+++ zope.server/trunk/src/zope/server/http/tests/test_wsgiserver.py 2009-10-07 14:31:17 UTC (rev 104855)
@@ -70,11 +70,11 @@
def redirect_method(self, REQUEST):
"Generates a redirect using the redirect() method."
- REQUEST.response.redirect("http://somewhere.com/redirect")
+ REQUEST.response.redirect("/redirect")
def redirect_exception(self):
"Generates a redirect using an exception."
- raise Redirect("http://somewhere.com/exception")
+ raise Redirect("/exception")
def conflict(self, REQUEST, wait_tries):
"""
More information about the checkins
mailing list