[Zope-CVS] CVS: Products/Zelenium - CHANGES.txt:1.6 generator.py:1.3
Tres Seaver
tseaver at zope.com
Wed Apr 20 16:32:06 EDT 2005
Update of /cvs-repository/Products/Zelenium
In directory cvs.zope.org:/tmp/cvs-serv13880
Modified Files:
CHANGES.txt generator.py
Log Message:
- Don't die on foreign host requests.
=== Products/Zelenium/CHANGES.txt 1.5 => 1.6 ===
--- Products/Zelenium/CHANGES.txt:1.5 Wed Apr 20 15:58:47 2005
+++ Products/Zelenium/CHANGES.txt Wed Apr 20 16:32:06 2005
@@ -4,6 +4,8 @@
- CVS tag: 'Zelenium-0_2_1'
+ - Fix unpack bug in code which punts on requests to "foreign" hosts.
+
- Punt on handling XML-RPC requests (e.g., Epoz calls back to the
server to run Tidy).
=== Products/Zelenium/generator.py 1.2 => 1.3 ===
--- Products/Zelenium/generator.py:1.2 Wed Apr 20 15:58:47 2005
+++ Products/Zelenium/generator.py Wed Apr 20 16:32:06 2005
@@ -316,8 +316,8 @@
if scheme and parms.get( 'site_host' ) is None:
parms[ 'site_host' ] = site_host
- if site_host != parms[ 'site_host' ]: # foreign site!
- return None
+ if site_host != parms[ 'site_host' ]: # XXX foreign site! Punt!
+ return None, None
if self._site_path and path.startswith( self._site_path ):
path = path[ len( self._site_path ) : ]
More information about the Zope-CVS
mailing list