Problem:
If I use ZCatalog without SiteRoot, I don't have any problems.
But if I try to use ZCatalog with a virtual host (by SiteRoot),
I'm not able to "Find items to ZCatalog":
ErrorType: IndexError
Error Value: list index out of range
The error occurs on line 321 from ZCatalog.py
---------------------------------------------
Solution:
With the following patch I can use ZCatalog with virtual hosts (by
SiteRoot):
try :
path=urllib.unquote(string.split(URL2, REQUEST.script)[1])
except :
path=urllib.unquote(URL2)
Hans
--
-----------------------------------
HeLP PI Frankfurt
Hans Rauch
Gutleutstr. 8-12, 60329 Frankfurt/M
Tel 069 / 2568 - 335 Fax - 320
[EMAIL PROTECTED]
-----------------------------------
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )