[Zope] Big improvement for load_site.py, patch included

seb bacon seb@jamkit.com
Tue, 24 Jul 2001 16:20:44 +0100


* Jerome Alet <alet@unice.fr> [010724 15:18]:
> On Tue, 24 Jul 2001, Oliver Bleutgen wrote:
> 
> > > could there be another reason I missed ?
> > 
> > urlencoding the space?
> 
> Fine ! It's probably the problem.
> 
> But then why did Peter succeed where I didn't ?
> 
> Or I haven't understood his message...
> 
> Jerome Alet

(lazily not looking at the source)

I'm guessing load_site uses a POST or the FTP interface or similar,
right?  Space is a legal character in Zope, but not in HTTP.  So even
M$ websites shouldn't have spaces in their names, anyway.  Having said 
this, I've seen some sites which do, and IE handles them OK.  Typical
;-) 

However, there are some legal HTTP characters which are not legal Zope
characters.  Off the top of my head, these include '+' and '%'.
load_site would need to parse document contents to fix this kind of
thing, I imagine. 

seb