[Zope3-dev] spelling of namespace signifiers

Steve Alexander steve@cat-box.net
Thu, 06 Jun 2002 14:33:47 +0100


Phillip J. Eby wrote:
>
> urllib.quote() is 
> enormously overzealous when compared to the URL RFC's as well as the 
> actual browser implementations out there.  It's also arguably broken for 
> doing path segments anyway since it doesn't quote '/'! 

The documentation says that the default value of the second argument to 
urllib.quote(string[, safe]) is '/'.

If you want urllib.quote to quote the '/' character, you need to invoke 
urllib.quote with a second argument that does not contain '/'.


   http://www.python.org/doc/current/lib/module-urllib.html

--
Steve Alexander