[Zope-dev] Allowed characters in Zope ids
Dieter Maurer
dieter@handshake.de
Wed, 3 Jan 2001 09:02:55 +0100 (CET)
I recently read RFC 2396 which defines the generic URI syntax
and especially the URL syntax.
I recognized, that
* Zope forbids many characters in ids (with the error message
"not allowed in URLs"), that are legal characters
in URL path segments:
generally allowed in URL's: -_.!~*'()
Zope accepted: _. ~
allowed in path segments: :@&=+$,
Zope accepted: ,
This, probably, is not a big problem.
But, it would be easy to fix.
* Zope allows space characters in (ObjectManager) id's.
The space is not a valid URL character.
Zope forbids spaces in property ids.
* The URL path segment syntax provides for a parameter section
suffix where each parameter is introduced with ';'.
Future Zope versions should probably take care of this
(recent) extension.
It might, too, provide a good way to pass values
in URLs without the pollution of the query string.
Dieter