[Zope] Invalid Characters for a URL?

Andy McKay andy at agmweb.ca
Wed Oct 1 13:20:26 EDT 2003


> 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).

Its nothing to do with URL's, its that its not a valid name for a Zope 
object.

> So, why is Zope doing this, and much more importantly what does Zope 
> think ARE valid characters for a URL?

 From OFS.ObjectManager.py the following are valid...

[^a-zA-Z0-9-_~,.$\(\)# ]

If you really wanted you could patch that to add allow a +.
-- 
   Andy McKay
   http://www.agmweb.ca




More information about the Zope mailing list