[Zope] Invalid Characters for a URL?

Passin, Tom tpassin at mitretek.org
Fri Oct 3 16:14:46 EDT 2003


[Edward Pollard]

> I'm porting some data to a Zope environment, and it is critical that 
> URL's remain the same.
> 
> However, Zope does not allow plus signs (+) in URL's. It 
> tries to pass 
> it off that plus is an invalid character for a URL. However, 
> plus is a 
> perfectly valid character for a URL (ref: 
> http://www.ietf.org/rfc/rfc1738.txt).
> 
> So, why is Zope doing this, and much more importantly what does Zope 
> think ARE valid characters for a URL?

 It is only a  convention that a "+" represents a space - it is not in
the RFC.  The correct thing to do is to encode the space with %20.  Zope
shoulddecode that all right.

Cheers,

Tom P



More information about the Zope mailing list