[Zope] File objects with illegal characters

Dieter Maurer dieter at handshake.de
Mon Aug 29 13:39:32 EDT 2005


Jens Vagelpohl wrote at 2005-8-29 16:17 +0100:
> ...
>If a filename is illegal as a URL then that's that.

In fact, an URL does not disallow any characters.
It only requires that some of them need to be escaped.

Thus, a Zope id could contain any character, would Zope properly
escape all characters not literally allowed in URLs.

I have changed our Zope version to allow any character in ids
different from ";" and "/". Allowing these, too, would require
a different task assignment between "cgi.py" and ZPublisher
(more precisely: "ZPublisher.BaseRequest.BaseRequest.traverse".

-- 
Dieter


More information about the Zope mailing list