CVS: Products/Zelenium - CHANGES.txt:1.6 generator.py:1.3

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
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 ) : ]

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.